Python IDLE 运行错误:IDLE's subprocess didn't make connection 的解决方法

Python IDLE 错误描述:

Subprocess Startup Error
IDLE's subprocess didn't make connection. Either IDLE can't start a subprocess or personal firewall software is blocking the connection.

错误截图:

 

错误原因分析:

同层目录下存在和Python库文件相同名字的.py文件,导致子进程无法创建的问题。

 

解决方法:

排查目录下的.py文件,找到和库文件名字相同的.py文件,然后重命名之。

 


版权声明:本文为sollor525原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。