Fatal Python error: init_sys_streams: can't initialize sys standard streams AttributeError: module 'io' has no attribute 'OpenWrapper'

后端 未结 2 1484
别跟我提以往
别跟我提以往 2021-01-18 06:04

Python 3 installation was working fine until yesterday. Then this happened today. Output from command prompt (Windows 10) when I type Python:

Fatal Python er         


        
2条回答
  •  一个人的身影
    2021-01-18 06:28

    This may be due to an invalid value of PYTHONPATH set in your system. Unset the value of this environment variable using the following command unset PYTHONPATH This should now fix the problem. If the problem still persists, then re-install Python. Your issue should be solved now.

提交回复
热议问题