Fatal Python error on Windows 10 ModuleNotFoundError: No module named 'encodings'

前端 未结 8 1672
青春惊慌失措
青春惊慌失措 2020-12-01 20:50

I\'m installing python on my windows 10 laptop, and when I try to run it I get this.

Fatal Python error: Py_Initialize: unable to load the file system

8条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-01 21:36

    even I had the same issue when I installed python 3.7 beta version, I resolved it by following these steps :

    1. if you have nay previous version of python installed and the environment variable and path is set for that version already , just remove the path and env variable

    2.run the downloaded python 3.7 exe file as administrator

    3.At the end of installation if it asks the permission for path length just click on that. now type "python" in command line and see , it should work.

提交回复
热议问题