python 启动提示IDLE's subprocess didn't make connection问题的解决方法

时间:2021-12-27 07:11:40


该问题主要是参考博文:http://blog.csdn.net/pengchua/article/details/3097319

自己也记录下。

问题:
提示错误:
IDLE's subprocess didn't make connection.Either IDLE can;t

start a subprocess or personal firewall software is blocking

the connection

That usually means that your firewall is blocking IDLE, so

enable it in your firewall. If that doesnt work, do this to fix

it (with some disavantages):

Open C:/Python24/Lib/idlelib/PyShell.py

at the 1272 line(我的是在1332行,就在main()函数下方的位置处)


change
use_subprocess = True

to

use_subprocess = False

同时删除PyShell.pyc