[issue33611] Fatal Python error: Py_Initialize: unable to load the file system codec
INADA Naoki
report at bugs.python.org
Wed May 23 21:05:27 EDT 2018
INADA Naoki <songofacandy at gmail.com> added the comment:
> if it could be broken installation or configuration (like incorrectly set
> PYTHONHOME or any other python related environment variables), then this
> crash should be expected every time I invoke python executable and attempt
> to run python scripts.
> However, it is not a case, and some of my scripts are running just fine.
There are many possibilities.
* Your scripts may have different shebang
* You're using some tools selecting Python (e.g. pyenv)
* You're using some tools modifying env vars
etc...
Anyway, your report doesn't have enough information to specify what's wrong on your environment.
Valid Python environment doesn't raise such error. I use Python everyday.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33611>
_______________________________________
More information about the Python-bugs-list
mailing list