如图,安装第三方库报错
Could not build wheels for pyspider, since package 'wheel' is not installed.
Could not build wheels for Flask, since package 'wheel' is not installed.
Could not build wheels for Jinja2, since package 'wheel' is not installed.
Could not build wheels for chardet, since package 'wheel' is not installed.
Could not build wheels for cssselect, since package 'wheel' is not installed.
Could not build wheels for lxml, since package 'wheel' is not installed.
Could not build wheels for pycurl, since package 'wheel' is not installed.
Could not build wheels for requests, since package 'wheel' is not installed.
Could not build wheels for Flask-Login, since package 'wheel' is not installed.
Could not build wheels for u-msgpack-python, since package 'wheel' is not installed.
Could not build wheels for click, since package 'wheel' is not installed.
Could not build wheels for six, since package 'wheel' is not installed.
Could not build wheels for tblib, since package 'wheel' is not installed.
Could not build wheels for wsgidav, since package 'wheel' is not installed.
Could not build wheels for tornado, since package 'wheel' is not installed.
Could not build wheels for pyquery, since package 'wheel' is not installed.
Could not build wheels for Werkzeug, since package 'wheel' is not installed.
Could not build wheels for itsdangerous, since package 'wheel' is not installed.
Could not build wheels for MarkupSafe, since package 'wheel' is not installed.
Could not build wheels for certifi, since package 'wheel' is not installed.
Could not build wheels for idna, since package 'wheel' is not installed.
Could not build wheels for urllib3, since package 'wheel' is not installed.
Could not build wheels for defusedxml, since package 'wheel' is not installed.
Could not build wheels for json5, since package 'wheel' is not installed.
Could not build wheels for PyYAML, since package 'wheel' is not installed.
搜了一大堆,大家都说是PIP和TOOL问题,按照他们的方法升级没用,本地查看确实也安装了Wheel
文章图片
搜来搜索,在一个回复里找到了原因,还是PIP 的问题,需要强制安装,有点莫名其妙,好在是解决了
pip install -U --force-reinstall pip
【Python|Linux Python 安装第三方库时报错 package wheel is not installed】
文章图片
推荐阅读
- 推荐系统论文进阶|CTR预估 论文精读(十一)--Deep Interest Evolution Network(DIEN)
- Python专栏|数据分析的常规流程
- Python|Win10下 Python开发环境搭建(PyCharm + Anaconda) && 环境变量配置 && 常用工具安装配置
- Python绘制小红花
- Pytorch学习|sklearn-SVM 模型保存、交叉验证与网格搜索
- OpenCV|OpenCV-Python实战(18)——深度学习简介与入门示例
- python|8. 文件系统——文件的删除、移动、复制过程以及链接文件
- 爬虫|若想拿下爬虫大单,怎能不会逆向爬虫,价值过万的逆向爬虫教程限时分享
- 分布式|《Python3网络爬虫开发实战(第二版)》内容介绍
- java|微软认真聆听了开源 .NET 开发社区的炮轰( 通过CLI 支持 Hot Reload 功能)