[issue33611] Fatal Python error: Py_Initialize: unable to load the file system codec

Ned Deily report at bugs.python.org
Thu May 24 11:37:41 EDT 2018


Ned Deily <nad at python.org> added the comment:

>  PYTHONPATH=/usr/local/lib/python2.7/site-packages

That looks pretty suspicious right there. It's pulling in 2.7 modules. Normally you should never need to set PYTHONPATH in a shell initialization script, like .profile, rarely elsewhere.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33611>
_______________________________________


More information about the Python-bugs-list mailing list