[issue41529] Unable to compile 3.0b3 on Ubuntu systems: Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding

2020-08-12 Thread STINNER Victor
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

[issue41529] Unable to compile 3.0b3 on Ubuntu systems: Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding

2020-08-12 Thread Zachary Ware
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

[issue41529] Unable to compile 3.0b3 on Ubuntu systems: Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding

2020-08-12 Thread Andreas Jung
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