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

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

相关文章

Pytorch之view及view_as使用详解

view()函数是在torch.Tensor.view()下的一个函数,可以有tensor调用,也可以有variable调用。 其作用在于返回和原tensor数据个数相同,但size不同...

pygame库实现移动底座弹球小游戏

pygame库实现移动底座弹球小游戏

本文实例为大家分享了pygame实现移动底座弹球的具体代码,供大家参考,具体内容如下 输出结果:   实现代码: # -*- coding: utf-8 -*- #Py...

详谈Python3 操作系统与路径 模块(os / os.path / pathlib)

以下代码以Python3.6.1 / windows10为例 Less is more! #!/usr/bin/env python # coding=utf-8 __author...

python、Matlab求定积分的实现

python、Matlab求定积分的实现

python求定积分 计算 from sympy import * x = symbols('x') print(integrate(sin(2*x)/(1+x**2), (x,...

在python中实现对list求和及求积

如下所示: # the basic way s = 0 for x in range(10): s += x # the right way s = sum(range(10))...