问题

PyCharm运行什么程序都出错,连print(1+1)都错,出错信息:

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

ModuleNotFoundError : No module named ' encodings'

 

解决方法

 

1.打开你安装python的那个目录,找到python.exe,记住它的位置【PyCharm出错】Fatal Python error : Py_Initialize : unable to load the file system codec

2.打开PyCharm-----》File-------》settings-------》Project Interpreter-----》输入刚才记得那个地址------》之后弹出有地址的都填刚才那个地址,然后选择最下边那个选项应用于所有项目,ok!

【PyCharm出错】Fatal Python error : Py_Initialize : unable to load the file system codec

3.再运行一下试试!好了吗

 

 

相关文章:

  • 2021-07-13
  • 2021-05-15
  • 2021-09-21
  • 2021-07-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-06
  • 2021-05-23
  • 2021-05-31
  • 2021-05-09
  • 2021-07-10
  • 2022-12-23
  • 2018-07-18
相关资源
相似解决方案