标签:targe amd strong mic 直接 install font www. for
直接命令pip install scrapy安装,提示失败
Failed building wheel for Twisted...
Microsoft Visual C++ 14.0 is required...等等
网上搜索一大摞windows下安装scrapy的资料,实践后终于大功告成,现分享出来
1.首先下载scrapy的whl包:http://www.lfd.uci.edu/~gohlke/pythonlibs/,下载Scrapy?1.3.3?py2.py3?none?any.whl
2.没有安装过wheel库的请先安装pip install wheel
3.scrapy依赖twiste,进入http://www.lfd.uci.edu/~gohlke/pythonlibs/,找到适合的版本,下载Twisted?17.1.0?cp36?cp36m?win_amd64.whl
4.scrapy依赖lxml包,pip install lxml
5.在下载存放的目录下安装pip install Twisted-17.1.0-cp36-cp36m-win_amd64.whl
6.在下载存放的目录下安装pip install Scrapy-1.3.3-py2.py3-none-any.whl
7.验证,输入scrapy -h,显示版本号,即成功!
标签:targe amd strong mic 直接 install font www. for
原文地址:http://www.cnblogs.com/shouzhong/p/7811886.html