Fatal Python error in Windows 10 ModuleNotFoundError: no module named 'encodings'

I install python on my windows 10 laptop, and when I try to run it, I get this.

Fatal Python error: Py_Initialize: unable to load file system codec ModuleNotFoundError: No module named 'encodings' Current thread 0x0000037c (last call first):

+4
source share
2 answers

This question has been considered here in this thread. Apparently running the python installation as an AND / OR administrator, setting the environment variables correctly, solved this problem.

+1
source

-, " Python 3.x PATH". , " " , Windows. -, Phython 3 Windows 7 64-, , PYTHONPATH PYTHONHOME Windows 7, python 2, python 2. PYTHONPATH PYTHONHOME.

0

Source: https://habr.com/ru/post/1671052/


All Articles