Issue 27054: Python installation problem: No module named ...
bugs.python.org › issue27054May 19, 2016 · Here's some pretty compelling evidence for a bad PYTHONHOME setting: C:\>set PYTHONHOME=C:\path ot\here C:\>py -3.5 Fatal Python error: Py_Initialize: unable to load the file system codec ImportError: No module named 'encodings' Current thread 0x00001db4 (most recent call first): C:\>set PYTHONHOME=C:\Python27\ C:\>py -3.5 Fatal Python error: Py_Initialize: unable to load the file system codec File "C:\Python27\\lib\encodings\__init__.py", line 123 raise CodecRegistryError,\ ^ SyntaxError ...