简体   繁体   English

Python 3.10 警告

[英]Python 3.10 warning

warning: PYDEVD_USE_CYTHON environment variable is set to 'NO'. Frame evaluator will be also disabled because it requires Cython extensions to be enabled in order to operate correctly.
C:\Program Files\JetBrains\PyCharm Community Edition 2021.2.3\plugins\python-ce\helpers\pydev\pydevd.py:1844: DeprecationWarning: currentThread() is deprecated, use current_thread() instead
  dummy_thread = threading.currentThread()

I installed the newest version of python, deleted older one and this warning poped up.我安装了最新版本的 python,删除了旧版本,然后弹出了这个警告。 Python codes run as usual, but this message pops up after debugging. Python 代码照常运行,但调试后弹出此消息。 I use Pycharm as an IDE.我使用 Pycharm 作为 IDE。 How to resolve this issue?如何解决这个问题?

I have the same notification after moving to python 3.10移动到 python 3.10 后,我收到了相同的通知

The thing is disabled Cython speedups for Python 3.10 intentionally as they are breaking the debugger.这个东西被禁用了 Python 3.10 的 Cython 加速,因为它们破坏了调试器。 JetBrains are working on the fix and will bundle the pre-compiled speedups for Python 3.10 on Windows (as they do for other versions) JetBrains 正在修复此问题,并将在 Windows 上捆绑 Python 3.10 的预编译加速(与其他版本一样)

Link to issue问题链接

This was fixed in Pycharm 2021.3.这已在 Pycharm 2021.3 中修复。 Upgrade and it will go away.升级它就会消失。

See 2021.3 release notes .请参阅2021.3 发行说明

Bug     PY-44838    Build debugger binaries for Python 3.10

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM