该问题主要是参考博文:http://blog.youkuaiyun.com/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
本文详细介绍了在使用IDLE时遇到的防火墙阻止子进程连接的问题,并提供了解决方案。通过在指定位置修改代码,可以避免防火墙阻止IDLE启动子进程的情况,确保软件正常运行。
1045

被折叠的 条评论
为什么被折叠?



