cython无法找到问题的解决办法
debug时,根据pycharm的提示cython无法找到:
warning: Debugger speedups using cython not found. Run '"/Users/macroot/virtualenvs/article_spider/bin/python3" "/Applications/PyCharm.app/Contents/helpers/pydev/setup_cython.py" build_ext --inplace' to build.
pydev debugger: process 33390 is connecting
这时
参考 https://blog.jetbrains.com/pycharm/2016/02/faster-debugger-in-pycharm-5-1/
只要根据pycharm进行运行以下命令即可。
env27/bin/python /Applications/PyCharm\ 5.1\ EAP.app/Contents/helpers/pydev/setup_cython.py build_ext --inplace