我使用 pydev 将 eclipse 从 3.6 升级到 4.2,将 Aptana 从 2 升级到 3
现在我无法让调试器工作。我收到以下错误:
Traceback (most recent call last):
File "C:\Google\eclipse\plugins\org.python.pydev_2.6.0.2012062121\pysrc\pydevd.py", line 4, in <module>
from pydevd_comm import CMD_CHANGE_VARIABLE, \
File "C:\Google\eclipse\plugins\org.python.pydev_2.6.0.2012062121\pysrc\pydevd_comm.py", line 78, in <module>
import pydevd_console
File "C:\Google\eclipse\plugins\org.python.pydev_2.6.0.2012062121\pysrc\pydevd_console.py", line 3, in <module>
from code import InteractiveConsole
ImportError: cannot import name InteractiveConsole
!ENTRY org.python.pydev.debug 4 4 2012-07-08 22:09:17.635
!MESSAGE Unexpected error setting up the debugger
!STACK 0
java.net.SocketException: Socket operation on nonsocket: configureBlocking
_at java.net.DualStackPlainSocketImpl.configureBlocking(Native Method)
_at java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source)
_at java.net.AbstractPlainSocketImpl.accept(Unknown Source)
_at java.net.PlainSocketImpl.accept(Unknown Source)
_at java.net.ServerSocket.implAccept(Unknown Source)
_at java.net.ServerSocket.accept(Unknown Source)
_at org.python.pydev.debug.model.remote.ListenConnector.run(ListenConnector.java:57)
_at java.lang.Thread.run(Unknown Source)