STINNER Victor <[email protected]> added the comment:
Without my change:
---
vstinner@apu$ PYTHONHOME=/xxx ./python
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 0x00007fa9c32d6740 (most recent call first):
<no Python frame>
---
With my PR 16300:
---
$ PYTHONHOME=/xxx ./python
Python path configuration:
PYTHONHOME = '/xxx'
PYTHONPATH = '/usr/share/qa-tools/python-modules'
isolated = 0
environment = 1
user site = 1
import site = 1
sys.executable = '/home/vstinner/python/master/python'
sys.prefix = '/xxx'
sys.exec_prefix = '/xxx'
sys.path = [
'/usr/share/qa-tools/python-modules',
'/xxx/lib/python39.zip',
'/xxx/lib/python3.9',
'/xxx/lib/python3.9/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 0x00007f9cef949740 (most recent call first):
<no Python frame>
---
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue38236>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com