【发布时间】:2019-02-22 10:10:32
【问题描述】:
我在 VS Code 中有来自 Microsoft 包的 Python。 当我运行一些 Python 代码时,出现错误:
pydev debugger: Unable to find real location for: threading.py
pydev debugger: Unable to find real location for: C:\Users\abukreev\AppData\Roaming\Python\Python36\site-packages
pydev debugger: Unable to find real location for: <frozen importlib._bootstrap>
pydev debugger: Unable to find real location for: genericpath.py
pydev debugger: Unable to find real location for: ntpath.py
pydev debugger: Unable to find real location for: runpy.py
pydev debugger: Unable to find real location for: pkgutil.py
pydev debugger: Unable to find real location for: <frozen importlib._bootstrap_external>
pydev debugger: Unable to find real location for: urllib\parse.py
pydev debugger: Unable to find real location for: queue.py
C:\Users\abukreev\Documents\Python367\. 我的笔记本电脑上的 Python
但是 pydev 在 C:\Users\abukreev\AppData\Roaming\Python\Python36\site-packages 中等待它
如何更改pydev 设置?
【问题讨论】:
-
我只是看了一下这个扩展的细节。它说 PyDev Debugger 集成是一个计划中的功能(很快)。这可能是您看到错误的原因吗?我只是在使用内置的 Python 调试器,它工作得非常好
-
可能的 pyc 损坏?
find . -name '*.pyc' -delete或任何 Windows 等效项