Eclipse pydev warning - “Debugger speedups using cython not found.”

后端 未结 7 1740
借酒劲吻你
借酒劲吻你 2021-02-19 05:14

I get this warning while running a python program (some basic web automation using selenium):

warning: Debugger speedups using cython not found. Run \'\

7条回答
  •  遥遥无期
    2021-02-19 05:53

    I use python 3.3 interpreter, pydev and eclipse neon on Windows 7, 64 bit. I got the error:

    warning: Debugger speedups using cython not found. Run '"C:\Python33\python.exe" "C:\Users\user\.p2\pool\plugins\org.python.pydev_5.2.0.201608171824\pysrc\setup_cython.py" build_ext --inplace' to build. pydev debugger: starting (pid: 8252)

    I am working on the solution now. This is an INCOMPLETE answer.

    1. Look at the python file mentioned in the error. Open it in a text editor like notepad++ & read the comments. Looks like we have to run this python script using python setup_cython build_ext --inplace. You must add .py after setup_cython to make this command work in windows.

    To run this command, open cmd as administrator and then CD into the folder where the setup_cython script is stored (see it in error message). Then, run: python setup_cython.py build_ext --inplace. Btw, if you get an error python is not recognized as an internal or external command, then refer this.

    1. Then, I got an error:

      Traceback (most recent call last): File "setup_cython.py", line 25, in from setuptools import setup ImportError: No module named 'setuptools'

    Looks like setuptools is missing and must be installed. Refer this link. We will use the simplified windows instructions. Download the ez_setup.py script in any folder. Open cmd as administrator and then cd into that folder. Then run python ez_setup.py

    1. Now, it will install a lot of files as part of setup tools. After completion, run the setup_cython script using python setup_cython.py build_ext --inplace. I got the error:

    running build_ext building '_pydevd_bundle.pydevd_cython' extension error: INCLUDE environment variable is empty

    Let me see what to do next.

提交回复
热议问题