warning Debugger speedups using cython not found.

本文介绍了解决Cython调试加速未启用的问题,Cython是Python的一种扩展工具,能够提升Python的计算效率。文中提供了具体的步骤,通过在指定位置执行特定的Python命令来重新构建并开启Cython的加速功能。
warning: Debugger speedups using cython not found.

  • 这个是因为Cython的加速调试没有打开,Cython是Python的一个扩展工具,用于优化Python的计算速度。

  • cd 后面有提示的位置,执行下面的代码再重新运行一下即可

 python3 setup_cython.py build ext --inplace

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 ------------------------------------------------------------------------------- D:\PyCharm Community Edition 2016.1.2\PyCharm Community Edition 2016.1.2\helpers\pydev\_pydevd_bundle\pydevd_resolver.py:157: SyntaxWarning: "is not" with a literal. Did you mean "!="? if found.get(name) is not 1: D:\PyCharm Community Edition 2016.1.2\PyCharm Community Edition 2016.1.2\helpers\pydev\_pydevd_bundle\pydevd_frame.py:326: SyntaxWarning: "is" with a literal. Did you mean "=="? if stop_frame is frame and event is 'return' and step_cmd in (CMD_STEP_RETURN, CMD_STEP_OVER): D:\PyCharm Community Edition 2016.1.2\PyCharm Community Edition 2016.1.2\helpers\pydev\_pydevd_bundle\pydevd_frame.py:532: SyntaxWarning: "is" with a literal. Did you mean "=="? if event is 'return': warning: Debugger speedups using cython not found. Run '"C:\Users\gWX1451317\AppData\Local\Programs\Python\Python311\python.exe" "D:\PyCharm Community Edition 2016.1.2\PyCharm Community Edition 2016.1.2\helpers\pydev\setup_cython.py" build_ext --inplace' to build. D:\PyCharm Community Edition 2016.1.2\PyCharm Community Edition 2016.1.2\helpers\pydev\pydevd.py:1298: DeprecationWarning: currentThread() is deprecated, use current_thread() instead dummy_thread = threading.currentThread() pydev debugger: process 3852 is connecting Connected to pydev debugger (build 145.844) 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 codecs> 正在搜索以下目录: ['D:\\Beta_Interpreter\\online_test\\temp_extracted', 'D:\\Beta_Interpreter\\online_test'] 检查路径是否存在: D:\Beta_Interpreter\online_test\temp_extracted 路径不存在或不是目录,跳过: D:\Beta_Interpreter\online_test\temp_extracted 检查路径是否存在: D:\Beta_Interpreter\online_test 路径有效,正在扫描: D:\Beta_Interpreter\online_test 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> 扫描子目录: D:\Beta_Interpreter\online_test 找到目标日志文件: D:\Beta_Interpreter\online_test\Candy-B49FU_6.0.0.104(SP3C00M00log)_A45E7F2970DF37F15B567D5176B8FE9FB6DA2FE0AF0BE84ECF503115291DD890_20251126204314_WearableBeta_gpu_debug.log 成功选定日志文件: D:\Beta_Interpreter\online_test\Candy-B49FU_6.0.0.104(SP3C00M00log)_A45E7F2970DF37F15B567D5176B8FE9FB6DA2FE0AF0BE84ECF503115291DD890_20251126204314_WearableBeta_gpu_debug.log Process finished with exit code 0
最新发布
12-23
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值