今天,我开始有这个问题..试图从我的.py文件运行Python Shell。 shell窗口打开并显示一个闪烁的光标。如果我输入任何内容并点击输入以下错误命中。 Python IDLE根本不起作用,我只能得到这个错误。Errno 10053与Python IDLE
IDLE internal error in runcode()
Traceback (most recent call last):
File "C:\Python27\lib\idlelib\rpc.py", line 235, in asyncqueue
self.putmessage((seq, request))
File "C:\Python27\lib\idlelib\rpc.py", line 332, in putmessage
n = self.sock.send(s[:BUFSIZE])
error: [Errno 10053] An established connection was aborted by the software in your host machine
Python(命令行)工作正常,但IDLE没有。我试过重新启动Windows和系统恢复没有运气。我一直在用Google搜索一些成功的答案。我的防火墙一直被禁用。尝试从命令行启动IDLE将返回以下错误。
C:\Python27>python.exe -m idlelib.idle
Failed to load extension 'CallTips'
Traceback (most recent call last):
File "C:\Python27\lib\idlelib\EditorWindow.py", line 1061, in load_standard_ex
tensions
self.load_extension(name)
File "C:\Python27\lib\idlelib\EditorWindow.py", line 1076, in load_extension
cls = getattr(mod, name)
AttributeError: 'module' object has no attribute 'CallTips'
----------------------------------------
Unhandled server exception!
Thread: SockThread
Client Address: ('127.0.0.1', 49552)
Request: <socket._socketobject object at 0x0176BCA8>
Traceback (most recent call last):
File "C:\Python27\lib\SocketServer.py", line 295, in _handle_request_noblock
self.process_request(request, client_address)
File "C:\Python27\lib\SocketServer.py", line 321, in process_request
self.finish_request(request, client_address)
File "C:\Python27\lib\SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Python27\lib\idlelib\rpc.py", line 503, in __init__
SocketServer.BaseRequestHandler.__init__(self, sock, addr, svr)
File "C:\Python27\lib\SocketServer.py", line 649, in __init__
self.handle()
File "C:\Python27\lib\idlelib\run.py", line 276, in handle
executive = Executive(self)
File "C:\Python27\lib\idlelib\run.py", line 315, in __init__
self.calltip = CallTips.CallTips()
AttributeError: 'module' object has no attribute 'CallTips'
Windows -32bit操作系统。在此先感谢您的帮助。
感谢您的评论。没有其他IDLE打开。我正在考虑卸载/重新安装python27,但是我担心我会失去所有我已经下载的安装后模块(例如numpy,matplotlib等)。但是,再次,我已经失去了半天的时间解决这个问题,我再也无法承受。我需要回去工作! – Laaaars