STINNER Victor added the comment:
It seems like you're getting the error while running "make". I'm surprised by
the sys.path value. Do you have a file called pybuilddir.txt in the current
directory? If yes, what does it contain?
Can you please try the command:
make SHELL="bash -x"
What is
Zachary Ware added the comment:
Can you reproduce this with the current release (3.9.0rc1)? Also, how did you
call `./configure` and `make`?
Adding Ćukasz so this is on his radar in case the first answer is affirmative
and there's nothing exotic in the second. For the record, I can't
New submission from Andreas Jung :
Building 3.9.0b3 fails on Ubuntu 19 and 20 in same way:
./python -E -S -m sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \
echo "generate-posix-vars failed" ; \
rm -f ./pybuilddir.txt ; \
exit 1 ; \
fi
Could not find