Linux Python 安裝第三方庫時報錯 package wheel is not installed

如圖,安裝第三方庫報錯

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

在這裏插入圖片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章