打开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 重置网络命令,再重启电脑,就可以了。
原文地址:https://www.cnblogs.com/pygo/p/12348510.html
时间: 2024-10-29 12:27:22