安装scrapy出错Failed building wheel for Twisted

用64位windows10的CMD命令安装pip install scrapy出错:

Running setup.py bdist_wheel for Twisted ... error

Failed building wheel for Twisted

Running setup.py clean for Twisted

Failed to build Twisted

Installing collected packages: pycparser, cffi, asn1crypto, cryptography, pyOpenSSL, Twisted, pyasn1, pyasn1-modules, service-identity, queuelib, scrapy

Running setup.py install for Twisted ... error

Exception:

Traceback (most recent call last):

File "e:\python\envs\py2scripy\lib\site-packages\pip\compat\__init__.py", line 73, in console_to_str

return s.decode(sys.__stdout__.encoding)

UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xb6 in position 30: invalid start byte

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "e:\python\envs\py2scripy\lib\site-packages\pip\basecommand.py", line 215, in main

status = self.run(options, args)

File "e:\python\envs\py2scripy\lib\site-packages\pip\commands\install.py", line 342, in run

prefix=options.prefix_path,

File "e:\python\envs\py2scripy\lib\site-packages\pip\req\req_set.py", line 784, in install

**kwargs

File "e:\python\envs\py2scripy\lib\site-packages\pip\req\req_install.py", line 878, in install

spinner=spinner,

File "e:\python\envs\py2scripy\lib\site-packages\pip\utils\__init__.py", line 676, in call_subprocess

line = console_to_str(proc.stdout.readline())

File "e:\python\envs\py2scripy\lib\site-packages\pip\compat\__init__.py", line 75, in console_to_str

return s.decode(‘utf_8‘)

UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xb6 in position 30: invalid start byte

解决方法:

参考连接方法:

https://stackoverflow.com/questions/45830222/a-error-happened-while-pip-was-installing-scrapy

原文地址:https://www.cnblogs.com/1991-1025/p/9069927.html

时间: 2024-11-06 12:14:24

安装scrapy出错Failed building wheel for Twisted的相关文章

pip install -- Failed building wheel for XXX

pip install -- Failed building wheel for XXX python pip 一言:真正的爱不是尽力,是尽心. 在使用 pip install 安装命令时,结果安装失败,出现了 Failed building wheel for Twisted 的错误,结果发现这类问题是通用的 解决 在网页 www.lfd.uci.edu/~gohlke/pythonlibs 上找到相应的 XXX,这个网页是一些 window 上的 Python Extension Packa

安装Keras的问题:Failed building wheel for scipy

安装Keras的过程中出现了下边的问题: Failed building wheel for scipy, Failed cleaning build dir for scipy pip在windows下不工作. 处理办法: 手工下载Scipy: http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy 手工安装,pip install scipyname 安装成功提示后,在继续安装Keras, pip install keras.

解决windows安装tesserocr报错问题 Failed building wheel for tesserocr

在我安装tesserocr的过程中出现了报错 C:\Users\Administrator>pip3 install tesserocr pillowCollecting tesserocr Using cached https://files.pythonhosted.org/packages/cf/0d/9e554f041962b8dd7acd978330535fed879452bb0af257c287ca4ae9c525/tesserocr-2.2.2.tar.gzRequirement

解决Mac安装tesserocr报错问题 Failed building wheel for

localhost:~ jerry$ Processing /var/www/git/python/tesserocr -bash: Processing: command not found localhost:~ jerry$ pip3 install tesserocr Collecting tesserocr Using cached https://files.pythonhosted.org/packages/f8/6d/4e81e041f33a4419e59edcb1dbdf3c5

【解决】win7 64 pip安装scrapy出错

问题一:microsoft visual c++ 9.0 is required 参考:http://www.cnblogs.com/ldm1989/p/4210743.html 问题二:ERROR: ‘xslt-config’ 不是内部或外部命令 参考:http://www.crifan.com/while_install_scrapy_error_xslt_config_is_not_internal_or_external_command/comment-page-1/

phpstudy安装composer出错“Failed to decode zlib stream ”

最新版本默认自带composer 打开phpstudy--其他选项菜单--其他高级应用

windows安装scrapy

直接命令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

Python3网络爬虫(五):Python3安装Scrapy

一.Scrapy简介 Scrapy是一个为了爬取网站数据提取结构性数据而编写的应用框架,可以应用于数据挖掘,信息处理或存储历史数据等一些列的程序中.Scrapy最初就是为了网络爬取而设计的.现在,Scrapy已经推出了曾承诺过的Python3.x版本. 为什么学习Scrapy呢?它能我们更好的完成爬虫任务,自己写Python爬虫程序好比孤军奋战,而使用了Scrapy就好比手底下有了千军万马.Scrapy可以起到事半功倍(甚至好几倍*.*)的效果.所以,学习Scrapy也就显得很有必要了. 二.S

《转载》Python3安装Scrapy

运行平台:Windows Python版本:Python3.x IDE:Sublime text3 转载自:http://blog.csdn.net/c406495762/article/details/60156205 一.Scrapy简介 Scrapy是一个为了爬取网站数据提取结构性数据而编写的应用框架,可以应用于数据挖掘,信息处理或存储历史数据等一些列的程序中.Scrapy最初就是为了网络爬取而设计的.现在,Scrapy已经推出了曾承诺过的Python3.x版本. 为什么学习Scrapy呢