解决Scrapy安装错误:Microsoft Visual C++ 14.0 is required...
问题描述
当前环境win10,python_3.6.1,64位。
在windows下,在dos中运行pip install Scrapy报错:
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
即可成功。
相关推荐
twistedcruller 2020-05-09
Twistedworld 2019-12-22
cairencong 2011-03-07
TwistedNerve 2008-11-24
宿舍 2019-10-20
xuxingzhuang 2012-05-29
Wendywubowen 2019-04-15
efeve 2018-08-08
TwistedFa 2014-11-08
paopao00 2017-05-11
mengdg000 2016-09-25
CoderBoom 2015-09-17
TwistedNerve 2015-09-17
TwistedFate 2015-09-16
twistedcruller 2015-09-15
dxbjfu0 2019-06-28
Twistedjungle 2019-06-21
Fatetwisted 2014-02-24
TwistedFate 2018-08-21