打开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 重置网络命令,再重启电脑,就可以了。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM