python安装成功后IDLE打不开,怎么解决 10
有啊,驱动也是刚更新的
好吧,查看那个程序占用了8833端口号:
netstat -aon | find "8833"
然后卸载之。
也有人说安装了64位的python会出现这个问题。如果实现解决不了问题,可以尝试创建一个批处理来启动:
----------------------------------------------------
@echo off
set pthon_path=""
python %pthon_path%\lib\idlelib\idle.py -n
--------------------------------------------------------
其中变量 pthon_path 是python安装的根目录,如C:\python3.6。运行过一次以后,应该就没有问题了。
另外,推荐安装 Spyder 这个IDE,比IDLE强太多了。
还有此页面网页链接 提供了一个解决方案:
A common problem that occurs when using IDLE is this:
First it gets "stuck"—i.e. non-responsive, requiring you to "Force Quit" the application
Then, when you try to restart it, you get this error message (or something similar): IDLE can't bind TCP/IP port 8833, which is necessary to communicate, etc. etc. (see picture below)
The way to fix this problem, as simplistic as it sounds, is usually to wait about 30 seconds, and try again.
等30秒后再启动IDLE。
2018-01-29