2017-08-13 61 views
0

Eclipse版本:PyDev調試不能勞克:無模塊名爲 '_pydevd_frame_eval.pydevd_frame_evaluator'

  • 釋氧(4.7.0)

  • PyDev的版本:5.9.0.201708101613

    在Windows 7 64x上。

PyDev的正常開展我的Django項目,但PyDev調試崩潰:

Traceback (most recent call last): File "C:\Users\bureau.p2\pool\plugins\org.python.pydev_5.9.0.201708101613\pysrc_pydevd_frame_eval\pydevd_frame_eval_cython_wrapper.py", line 2, in from _pydevd_frame_eval.pydevd_frame_evaluator import frame_eval_func, stop_frame_eval, enable_cache_frames_without_breaks, dummy_trace_dispatch ModuleNotFoundError: No module named '_pydevd_frame_eval.pydevd_frame_evaluator'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\bureau.p2\pool\plugins\org.python.pydev_5.9.0.201708101613\pysrc\pydevd.py", line 42, in from _pydevd_frame_eval.pydevd_frame_eval_main import frame_eval_func, stop_frame_eval, enable_cache_frames_without_breaks, dummy_trace_dispatch File "C:\Users\bureau.p2\pool\plugins\org.python.pydev_5.9.0.201708101613\pysrc_pydevd_frame_eval\pydevd_frame_eval_main.py", line 21, in from _pydevd_frame_eval.pydevd_frame_eval_cython_wrapper import frame_eval_func, stop_frame_eval, enable_cache_frames_without_breaks, \ File "C:\Users\bureau.p2\pool\plugins\org.python.pydev_5.9.0.201708101613\pysrc_pydevd_frame_eval\pydevd_frame_eval_cython_wrapper.py", line 28, in frame_eval_func, stop_frame_eval, enable_cache_frames_without_breaks, dummy_trace_dispatch = mod.frame_eval_func, mod.stop_frame_eval, mod.enable_cache_frames_without_breaks, ValueError: not enough values to unpack (expected 4, got 3)

:LiClipse和調試正常啓動。

的版本LiClipse:

  • LiClipse 4.0.0.201706061723
  • 的PyDev爲Eclipse 5.8.0.201706061723

可能有PyDev的8月發行的確實是一個問題,相比6月發行版。 是否可以在Eclipse中降級PyDev?

回答

1

最新的PyDev插件(5.9.2.201708151115)解決了這個問題。

1

我已經降級到PyDev 5.8,它的工作。

我希望最近的版本很快就會被修復。

如何做到這一點:

  1. 卸載的PyDev

  2. 下載的PyDev 5.8(賣場在Eclipse中顯示了5.8版本,但奇怪的是它仍然安裝5.9版本):

https://sourceforge.net/projects/pydev/files/pydev/PyDev%205.8.0/

  1. 然後手動安裝。非常簡單,下面http://www.pydev.org/manual_101_install.html

Extract the contents of the zip file in the eclipse/dropins folder and restart Eclipse.

+0

將卸載刪除PyDev的設置?由於只有「調試」似乎受到影響,我現在不需要它,我寧願不嘗試它並丟失我的設置。 – user136036

+0

我再次降級,因爲PyDev自動升級...和ex的解釋器。已經在PyDev中設置了,沒有我做任何事情。 – ThePhi