python 3.11 : debugger not working properly anymore

标签 python python-3.x pycharm version

所以我刚刚安装了 python 版本 3.11 并在 pycharm 中更改了我的 python 解释器,并且在我将软件包重新安装到我的新 venv 之后代码现在可以正常运行。

但是当我调试我的代码时,我不断收到一长串警告,我不知道如何修复它:

-------------------------------------------------------------------------------
pydev debugger: CRITICAL WARNING: This version of python seems to be incorrectly compiled (internal generated filenames are not absolute)
pydev debugger: The debugger may still function, but it will work slower and may miss breakpoints.
pydev debugger: Related bug: http://bugs.python.org/issue1666807
-------------------------------------------------------------------------------
Connected to pydev debugger (build 221.5080.212)
pydev debugger: Unable to find real location for: <frozen codecs>
pydev debugger: Unable to find real location for: <frozen importlib._bootstrap>
pydev debugger: Unable to find real location for: <frozen importlib._bootstrap_external>
pydev debugger: Unable to find real location for: <frozen zipimport>
pydev debugger: Unable to find real location for: <frozen ntpath>
pydev debugger: Unable to find real location for: <frozen genericpath>
pydev debugger: Unable to find real location for: <frozen os>
pydev debugger: Unable to find real location for: <frozen _collections_abc>
pydev debugger: Unable to find real location for: <string>
pydev debugger: Unable to find real location for: <frozen abc>
pydev debugger: Unable to find real location for: <__array_function__ internals>
pydev debugger: Unable to find real location for: <frozen io>

如果有帮助,我为所有用户安装了它到 C:\Program Files

最佳答案

关于 python 3.11 : debugger not working properly anymore,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74359505/

相关文章:

python - 在 Python 2.7.x 中查找系列的总和

python - 使用 python 运行 .bat 文件

python-3.x - 这是 pickle 实例方法的正确方法吗?如果是,为什么不在 Python 3 中?

python - 如何使用 mask 更改图像的颜色?

intellij-idea - 有没有办法在编辑器中突出显示自上次在 IntelliJ 中提交以来插入的文本?

python - 'chromedriver' 可执行文件需要在 PATH 中。机器人框架pycharm

python - 如何在Python中选择独立加权的数字?

python - 在 Evernote API 中设置 NoteFilter

python - MySQL 在重复键上插入/更新时出错

python-3.x - 在 Python + Selenium + Firefox WebDriver 上配置代理