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

yipeiwu_com6年前Python基础

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文件,然后重命名之。

感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!

相关文章

Python基于ThreadingTCPServer创建多线程代理的方法示例

本文实例讲述了Python基于ThreadingTCPServer创建多线程代理的方法。分享给大家供大家参考,具体如下: #coding=utf8 from BaseHTTPServ...

python里 super类的工作原理详解

super 的工作原理如下: def super(cls, inst): mro = inst.__class__.mro() return mro[mro.index(cl...

python在线编译器的简单原理及简单实现代码

python在线编译器的简单原理及简单实现代码

我们先来看一下效果(简单的写了一个): 原理:将post请求的代码数据写入了服务器的一个文件,然后用服务器的python编译器执行返回结果 实现代码: #flaskrun...

寻找网站后台地址的python脚本

#!/usr/bin/python # This was written for educational purpose only. Use it at your own risk...

python绘制彩虹图

python绘制彩虹图

本文实例为大家分享了python绘制彩虹图的具体代码,供大家参考,具体内容如下 from turtle import * #控制彩虹路径 def path(pen, r, g,...