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 Packages

找到相应版本的下载好

进入下载的文件目录使用 pip install 安装即可

如果版本不对头的话会出现错误,重新下载对应版本


时间: 2024-10-05 04:58:28

pip install -- Failed building wheel for XXX的相关文章

安装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.

安装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, cry

解决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

词云:解决pip install wordcloud安装过程中报错“error: command 'x86_64-linux-gnu-gcc' failed with exit status 1”问题

外部环境:ubuntu16.04, 64bits, 全局环境python2.7 在虚拟环境(python3.5)中执行 pip install wordcloud 时安装失败,报错: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Failed building wheel for wordcloud Running setup.py

在安装seaborn等包时,使用pip install安装不成功

在安装seaborn等包时,使用pip install seaborn安装不成功,报错有:Failed building wheel for scipy,Failed cleaningbuild dir for scipy. 图二第一行显示了Failed to build scipy. 所以可以推断是scipy出了问题. 解决方法: 手工下载Scipy: http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy 注意:cp后面的数字对应的是python的版

ubuntu16.04 pip install scrapy 报错处理

Failed building wheel for Twisted inculde/site/python3.5/Twisted failed with error code 1 in tmp/pip-install-y4-0q..... sudo apt-get install build-essential libssl-dev libffi-dev python3.5-dev# 或者 sudo aptitude install python3.5-dev pip install scrap

pip install时报错

因为需要mysqlclient这个模块,但是在pip的时候报错 Collecting mysqlclient  Using cached https://files.pythonhosted.org/packages/f4/f1/3bb6f64ca7a429729413e6556b7ba5976df06019a5245a43d36032f1061e/mysqlclient-1.4.2.post1.tar.gzBuilding wheels for collected packages: mysq

使用pip install 或者easy_install安装Python的各种包出现cc failed with exit status 1

*:first-child { margin-top: 0 !important; } body > *:last-child { margin-bottom: 0 !important; } a { color: #4183C4; } a.absent { color: #cc0000; } a.anchor { display: block; padding-left: 30px; margin-left: -30px; cursor: pointer; position: absolute