No module named 'encodings' Python 3.6 on Windows 10 failure

eryk sun eryksun at gmail.com
Tue Mar 7 21:21:56 EST 2017


On Wed, Mar 8, 2017 at 1:24 AM,  <schneiderw at law.byu.edu> wrote:
>
> Every attempt to make Python 3.6.0 or 3.6.1rc1 to run on Windows 10
> has resulted in the error message shown below.  I was running Python
> 3.5.2 successfully and wanted to upgrade.
>
> C:\Python36-32>python
> Fatal Python error: Py_Initialize: unable to load the file system codec
> ModuleNotFoundError: No module named 'encodings'

You probably have the environment variable PYTHONHOME pointing at some
other Python installation, or a previous installation. Permanently
defining PYTHONHOME is wrong. Unset this value in the
environment-variable editor and open a new command prompt.


More information about the Python-list mailing list