pycharm Python 3.11:调试器不再正常工作

xuo3flqw  于 2022-11-23  发布在  PyCharm
关注(0)|答案(1)|浏览(821)

因此,我刚刚安装了python 3.11版,并在pycharm中更改了python解释器,在我将包重新安装到新的venv后,代码现在可以正常运行。
但是当我调试代码时,我总是收到一长串警告,我不知道如何修复它:

  1. -------------------------------------------------------------------------------
  2. pydev debugger: CRITICAL WARNING: This version of python seems to be incorrectly compiled (internal generated filenames are not absolute)
  3. pydev debugger: The debugger may still function, but it will work slower and may miss breakpoints.
  4. pydev debugger: Related bug: http://bugs.python.org/issue1666807
  5. -------------------------------------------------------------------------------
  6. Connected to pydev debugger (build 221.5080.212)
  7. pydev debugger: Unable to find real location for: <frozen codecs>
  8. pydev debugger: Unable to find real location for: <frozen importlib._bootstrap>
  9. pydev debugger: Unable to find real location for: <frozen importlib._bootstrap_external>
  10. pydev debugger: Unable to find real location for: <frozen zipimport>
  11. pydev debugger: Unable to find real location for: <frozen ntpath>
  12. pydev debugger: Unable to find real location for: <frozen genericpath>
  13. pydev debugger: Unable to find real location for: <frozen os>
  14. pydev debugger: Unable to find real location for: <frozen _collections_abc>
  15. pydev debugger: Unable to find real location for: <string>
  16. pydev debugger: Unable to find real location for: <frozen abc>
  17. pydev debugger: Unable to find real location for: <__array_function__ internals>
  18. pydev debugger: Unable to find real location for: <frozen io>

我为所有用户将其安装到 C:\Program Files(如果有帮助)

相关问题