This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ajung
Recipients ajung
Date 2020-08-12.08:23:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1597220598.27.0.292747751554.issue41529@roundup.psfhosted.org>
In-reply-to
Content
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 platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Python path configuration:
  PYTHONHOME = (not set)
  PYTHONPATH = (not set)
  program name = './python'
  isolated = 0
  environment = 0
  user site = 1
  import site = 0
  sys._base_executable = '/home/ajung/src/pp.server/Python-3.9.0b3/python'
  sys.base_prefix = '/opt/python-3.9.0b3'
  sys.base_exec_prefix = '/opt/python-3.9.0b3'
  sys.platlibdir = 'lib'
  sys.executable = '/home/ajung/src/pp.server/Python-3.9.0b3/python'
  sys.prefix = '/opt/python-3.9.0b3'
  sys.exec_prefix = '/opt/python-3.9.0b3'
  sys.path = [
    '/opt/python-3.9.0b3/lib/python39.zip',
    '/opt/python-3.9.0b3/lib/python3.9',
    '/opt/python-3.9.0b3/lib/lib-dynload',
  ]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007f824c25c280 (most recent call first):
<no Python frame>
generate-posix-vars failed
make: *** [Makefile:612: pybuilddir.txt] Error 1
History
Date User Action Args
2020-08-12 08:23:18ajungsetrecipients: + ajung
2020-08-12 08:23:18ajungsetmessageid: <1597220598.27.0.292747751554.issue41529@roundup.psfhosted.org>
2020-08-12 08:23:18ajunglinkissue41529 messages
2020-08-12 08:23:18ajungcreate