Microsoft Visual C++ 14.0 is required问题的解决或warning: Debugger speedups using cython not found

  今天在下载了 python3.64版本的安装后运行爬虫程序报错:

  

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: 10952)

  在网上查下了一下进行了如下操作:

  首先进入到C:\Python36\Scripts目录:

  执行下面的命令:

  python "C:\Program Files (x86)\JetBrains\PyCharm 2016.2.3\helpers\pydev\setup_cython.py" build_ext --inplace

  报错:

    error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

  打开浏览器输入:http://landinghub.visualstudio.com/visual-cpp-build-tools 说是过期了

  后来找到链接:https://pan.baidu.com/s/1WaBxFghTll6Zofz1DGOZBg?errno=0&errmsg=Auth%20Login%20Sucess&&bduss=&ssnerror=0&traceid=

  下载了visualcppbuildtools full.exe进了安装,安装过程选择自定义安装,默认选项如下

  

  安装完成后继续执行:python "C:\Program Files (x86)\JetBrains\PyCharm 2016.2.3\helpers\pydev\setup_cython.py" build_ext --inplace

  成功执行:

  

  然后进行执行爬虫程序,正常爬虫

猜你喜欢

转载自www.cnblogs.com/shaosks/p/9145128.html
今日推荐