Pycharm debug无法运行,warning: PYDEVD_USE_CYTHON environment variable is set to 'NO'.

img

问题:
C:\Users\29429.virtualenvs\douban_spider-P9yfbasU\Scripts\python.exe "D:\PyCharm Community Edition 2021.2.3\plugins\python-ce\helpers\pydev\pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 50813 --file E:/pythonStu/douban_spider/main.py
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.
D:\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()
Connected to pydev debugger (build 212.5457.59)

Process finished with exit code 0

你的应是python3.10吧?这个是python版本和pycharm版本不兼容问题,建议降低python或pycharm版本