我在运行 python 程序时收到此警告(一些使用 selenium 的基本 Web 自动化):
warning: Debugger speedups using cython not found. Run '"/usr/bin/python3.5" "/root/.p2/pool/plugins/org.python.pydev_4.5.5.201603221110/pysrc/setup_cython.py" build_ext --inplace' to build. pydev debugger: starting (pid: 3502)
我该如何解决这个问题?
最佳答案
这正如预期的那样。运行 "/usr/bin/python3.5" "/root/.p2/pool/plugins/org.python.pydev_4.5.5.201603221110/pysrc/setup_cython.py" build_ext --inplace
因为它要求获得调试器加速。
(注意。下面评论中的错误是因为这个答案缺少初始双引号。)
理想情况下,在您的虚拟环境中运行它(如果您使用),以确保为正确的 Python 版本运行它。您需要为您使用的每个 Python 版本运行一次。
关于Eclipse pydev 警告 - "Debugger speedups using cython not found.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36680422/