Python IDLE啓動報錯subprocess startup error

從CSDN https://blog.csdn.net/xiaoyaotan123/article/details/40159691 那邊查到的一個解決方案,很好地解決了打不開Python的問題。

解決方案:
修改[Python目錄]\Lib\idlelib\PyShell.py文件,我這邊的位置在1388行左右。
將 def main():函數下面的
use_subprocess = True
修改爲:
use_subprocess = False

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章