本文介绍了pydev importerror:没有模块命名的线程,调试在pydev升级后不再工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的Eclipse 3.6 / PyDev安装程序只是将pydev升级到1.6.0.2010071813,并且调试不再起作用。我的默认python解释器是3.1虽然我怀疑这件事情。直到Eclipse升级pydev,它工作得非常好。解决方案
这个已经在当前的夜间(1.6.1 )。有关获取详情,请参阅:。
请注意,您可以在本地(在org.python.pydev.debug / pysrc / pydevd.py)中更改import thread(以下简称):
try:
import thread
除了ImportError:
import _thread作为线程#Py3K更改它。
干杯,
Fabio
My Eclipse 3.6 /PyDev setup just did a pydev upgrade to 1.6.0.2010071813 and debugging no longer works. My default python interpreter is 3.1 although I doubt that matters. Until the Eclipse upgrade of pydev, it was working very nicely.
解决方案
This is already fixed in the current nightly (1.6.1). See: http://pydev.org/download.html for details on getting it.
Note that you can just change that "import thread" locally (in org.python.pydev.debug/pysrc/pydevd.py) for:
try:
import thread
except ImportError:
import _thread as thread #Py3K changed it.
Cheers,
Fabio
这篇关于pydev importerror:没有模块命名的线程,调试在pydev升级后不再工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!