打开python自带IDLE出的问题

Posted i勤能补拙

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了打开python自带IDLE出的问题相关的知识,希望对你有一定的参考价值。

打开python自带IDLE编辑器时出的问题

IDLE can‘t bind to a TCP/IP port, which is necessary to
communicate with its Python execution server. This might be
because no networking is installed on this computer. Run IDLE
with the -n command line switch to start without a subprocess
and refer to Help/IDLE Help ‘Running without a subprocess‘ for
further details.

转中文:

IDLE无法绑定到TCP/IP端口,这是              与它的Python执行服务器通信。这可能是              因为这台计算机上没有安装网络。空转              使用-n命令行开关在没有子进程的情况下启动              并参阅帮助/空闲帮助“不带子进程运行”              更多细节。

解决方法:

以管理员身份打开cmd,输入netsh winsock reset 重置网络命令,再重启电脑,就可以了。

以上是关于打开python自带IDLE出的问题的主要内容,如果未能解决你的问题,请参考以下文章

python 自带的 idle 如何清空窗口

为啥我的Python 没有 idle?

python idle可以创建工程吗

idle如何从三个点变为

Python IDLE编辑器打开后缀名为.py的文件

python自带的idle有啥用