cython無法找到問題的解決辦法
debug時,根據(jù)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/
只要根據(jù)pycharm進行運行以下命令即可。
env27/bin/python /Applications/PyCharm\ 5.1\ EAP.app/Contents/helpers/pydev/setup_cython.py build_ext --inplace