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

后端 未结 7 1777
借酒劲吻你
借酒劲吻你 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 06:09

    with py 3.7 this does not build. but then, you just lose some speed-ups, not a big deal.

    you get :

    usr/local/bin/python3.7    ./setup_cython.py   build_ext --inplace
    running build_ext
    building '_pydevd_bundle.pydevd_cython' extension
    gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python3.7m -c _pydevd_bundle/pydevd_cython.c -o build/temp.linux-x86_64-3.7/_pydevd_bundle/pydevd_cython.o
    _pydevd_bundle/pydevd_cython.c: In function ‘__Pyx__ExceptionSave’:
    _pydevd_bundle/pydevd_cython.c:28837:19: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
         *type = tstate->exc_type;
    

提交回复
热议问题