端口绑定错误,Python的开放 [英] port binding error, on Python opening

查看:1992
本文介绍了端口绑定错误,Python的开放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我打开Python的IDLE,有时错名端口绑定错误是累积和闲置被提交到计算机上运行。此错误是累积,就会重复每次我会开空闲时间,直到计算机将重新启动。错误框saies:ILDE不能绑定到TCP / IP端口,这是必要的,其执行的Python服务器进行通信。这可能是因为在此计算机上安装没有联网。空转与-n命令行开关来启动无子,是指帮助/ IDLE帮助运行无子了解更多详情。

When I open Python's IDLE, sometimes and error name 'port binding error' is accrues, and IDLE is filed to run on the computer. one this error accrues, it will repeat every time I'll open IDLE, till the computer will be restarted. the error box saies: ' ILDE 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.'

跆拳道?

推荐答案

键入到空闲的每个命令
>>> 通常会被发送到执行它=>的UI可以做什么就是了,用户可以做他/她喜欢上另一个子进程。如果你使用Tkinter的创建自己的图形用户界面,这可以从崩溃空闲窗口​​prevent你。

Every command you type into the idle after >>> will usually be sent to another subprocess that executes it => the UI can do what it wants, the user can do as he/she likes. If you use Tkinter to create your own GUI, this can prevent you from crashing the IDLE windows.

IDLE使用端口3000,我认为。这可能是因为有东西比其他子听的连接出现。

IDLE uses port 3000 I think. It could be that there is something listening there for connections other than the subprocess.

idlelib的文件夹中:

in the folder of idlelib:

import idlelib
print idlelib.__file__ 

还有就是 idle.py idle.pyw idle.bat 可与 -n 不使一个新的subproces。

there is the idle.py, idle.pyw and idle.bat that can be started with -n to not make a new subproces.

我希望你的跆拳道被接听。

I hope your WTF is answered.

这篇关于端口绑定错误,Python的开放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆