Failed building wheel for Twisted
在安装scrapy框架的过程中,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
解决方法:
网址:https://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted
选择 与自己电脑python版本相关的Twisted。下载保存到本地。
然后执行pip install xx\xx\Twisted‑17.9.0‑cp36‑cp36m‑win_amd64.whl
执行结果如图所示:
(jobbole) D:\virtualenv>pip install D:\virtualenv\jobbole\Scripts\Twisted-17.9.-cp36-cp36m-win_amd64.whl
Processing d:\virtualenv\jobbole\scripts\twisted-17.9.-cp36-cp36m-win_amd64.whl
Requirement already satisfied: incremental>=16.10. in d:\virtualenv\jobbole\lib\site-packages (from Twisted==17.9.)
Requirement already satisfied: zope.interface>=4.0. in d:\virtualenv\jobbole\lib\site-packages (from Twisted==17.9.)
Requirement already satisfied: Automat>=0.3. in d:\virtualenv\jobbole\lib\site-packages (from Twisted==17.9.)
Requirement already satisfied: constantly>=15.1 in d:\virtualenv\jobbole\lib\site-packages (from Twisted==17.9.)
Requirement already satisfied: hyperlink>=17.1. in d:\virtualenv\jobbole\lib\site-packages (from Twisted==17.9.)
Requirement already satisfied: setuptools in d:\virtualenv\jobbole\lib\site-packages (from zope.interface>=4.0.->Twisted==17.9.)
Requirement already satisfied: six in d:\virtualenv\jobbole\lib\site-packages (from Automat>=0.3.->Twisted==17.9.)
Requirement already satisfied: attrs in d:\virtualenv\jobbole\lib\site-packages (from Automat>=0.3.->Twisted==17.9.)
Requirement already satisfied: idna>=2.5 in d:\virtualenv\jobbole\lib\site-packages (from hyperlink>=17.1.->Twisted==17.9.)
Installing collected packages: Twisted
Successfully installed Twisted-17.9.
然后,顺利安装scrapy
(jobbole) D:\virtualenv>pip install scrapy
Failed building wheel for Twisted的更多相关文章
- 安装scrapy出错Failed building wheel for Twisted
用64位windows10的CMD命令安装pip install scrapy出错: Running setup.py bdist_wheel for Twisted ... error Failed ...
- Python安装scrapy过程中出现“Failed building wheel for xxx”
https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml Python安装scrapy库过程中出现“ Failed building wheel for xxx ...
- Failed building wheel for scandir 解决方案
unbuntu 16.04 运行 pip install jupyter --upgrade 的时候出现了下面的错误 Failed building wheel for scandir Running ...
- 解决Mac安装tesserocr报错问题 Failed building wheel for
localhost:~ jerry$ Processing /var/www/git/python/tesserocr -bash: Processing: command not found loc ...
- Failed building wheel for netifaces
目录 文章目录 目录 问题 解决 问题 安装 OpenStackClient 的时候发现问题: Failed building wheel for netifaces Running setup.py ...
- Failed building wheel for cytoolz
2019独角兽企业重金招聘Python工程师标准>>> 当我使用 pip instlal cytoolz 时, 报以下错误: error: Microsoft Visual C++ ...
- PIP安装Python的scipy,scrapy等包出现“failed building wheel for xxx”问题解决办法
1.在这里下载对应的.whl文件,注意别改文件名! http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml Ctrl + F,输入lxml,找到下面这段 Lxm ...
- error: can't copy 'docx\templates\default-docx-template': doesn't exist or not a regular file --------------- Failed building wheel for python-docx; python-docx的安装使用;python操作word
本人第一安装python-docx很不幸就出现了,如下的错误:(如果你也遇到同样的错误,不要慌可以参考下面解决方案,由于第一次处理这种错误,如有不对欢迎大家多多批评指正) 问题所在是因为我们的setu ...
- Django 项目连接数据库Mysql要安装mysqlclient驱动出错 : Failed building wheel for mysqlclient:
1,如果直接用 CMD命令:pip install mysqlclient ,会安装出错. 2,解决问题,参考了这个博友的帖子:https://blog.csdn.net/qq_29784441/ar ...
随机推荐
- mac ssd开启trim模式
开启方法 sudo trimforce enable
- 屏蔽Alt+F4关闭窗体
实现效果: 知识运用: KeyEventArgs类的Alt,Handled属性 public virtual bool Alt {get;} //获取一个值 该值指示是否曾按下Alt键 public ...
- PAT (Advanced Level) Practise - 1098. Insertion or Heap Sort (25)
http://www.patest.cn/contests/pat-a-practise/1098 According to Wikipedia: Insertion sort iterates, c ...
- PAT (Basic Level) Practise (中文)-1031. 查验身份证(15)
PAT (Basic Level) Practise (中文)-1031. 查验身份证(15) http://www.patest.cn/contests/pat-b-practise/1031 一个 ...
- vuejs 的错误代码,有助于理解
1.vuejs 的双向绑定理解 2.嵌套复杂对象的使用. * 1. 分割都是, 2. json 中分割都是; 4. v-bind:value="param" 括号内的就是 vuej ...
- ios retain copy assign相关
assign: 简单赋值,不更改索引计数copy: 建立一个索引计数为1的对象,然后释放旧对象retain:释放旧的对象,将旧对象的值赋予输入对象,再提高输入对象的索引计数为1 Copy其实是建立了一 ...
- perl学习之子程序
一.定义子程序即执行一个特殊任务的一段分离的代码,它可以使减少重复代码且使程序易读.PERL中,子程序可以出现在程序的任何地方.定义方法为:sub subroutine{statements;}二.调 ...
- Django中模板查找路径配置
- Luogu 2569 [SCOI2010]股票交易 (朴素动规转移 + 单调队列优化)
题意: 已知未来 N 天的股票走势,第 i 天最多买进 as [ i ] 股每股 ap [ i ] 元,最多卖出 bs [ i ] 股每股 bp [ i ] 元,且每天最多拥有 Mp 股,且每两次交易 ...
- skkyk:线段树浅谈
推荐前辈学姐博客文章,写的很细 https://www.cnblogs.com/TheRoadToTheGold/p/6254255.html 学学半,此随笔主要是加深自己对线段树的理解 题目:洛谷P ...