pip install scrapy 报错error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++

pip install scrapy 报错error: Microsoft Visual C++ 14.0 is required. Get it with

building 'twisted.test.raiser' extension 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://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted 下载twisted对应版本的whl文件(如我的Twisted‑17.5.0‑cp36‑cp36m‑win_amd64.whl),cp后面是python版本,amd64代表64位,运行命令:

pip install C:\Users\CR\Downloads\Twisted-17.5.0-cp36-cp36m-win_amd64.whl

其中install后面为下载的whl文件的完整路径名 

安装完成后,再次运行:

pip install Scrapy

 

你可能感兴趣的:(scrapy)