PyDev:warning: Debugger speedups using cython not foun

  在eclipse下调试代码开始时总提示一个警告:

  

warning: Debugger speedups using cython not found. Run '"C:\Python36\python.exe" "C:\Users\shaoks\.p2\pool\plugins\org.python.pydev.core_6.3.3.201805051638\pysrc\setup_cython.py" build_ext --inplace' to build.
pydev debugger: starting (pid: 15372)

  意思是:没有找到用Cython加速的调试器 
  Cython是Python的一个扩展模块工具,采用Python和C语言混合编成,用于加速Python运行效率。 
  解决的办法也在上面的提示中: 
  在PyDev安装目录下执行下面的命令编译cython加速模块

  

   进入C:\Users\shaoks\.p2\pool\plugins\org.python.pydev.core_6.3.3.201805051638\pysrc 目录

  输入命令:python setup_cython.py build_ext --inplace 回车,如下图:

  

猜你喜欢

转载自www.cnblogs.com/shaosks/p/9133775.html