項(xiàng)目場景:
python 3.10.5 pip 安裝 pandas 問題
問題描述
通過 pip install pandas 安裝pandas 報(bào)錯(cuò) :ERROR: Could not build wheels for pandas, which is required to install pyproject.toml-based projects;
ERROR: Failed building wheel for pandas
原因分析:
缺失pandas對(duì)應(yīng)的whl文件。
解決方案:
安裝對(duì)應(yīng)的whl文件
下載并安裝對(duì)應(yīng)的whl文件,可以通過以下地址下載。
Unofficial Windows Binaries for Python Extension Packages
獲得whl文件后,直接 pip install 【whl文件絕對(duì)路徑】
然后就可以裝成功了。
開始安裝
pip install D:\迅雷下載\pandas-1.4.2-cp310-cp310-win32.whl
一會(huì)就裝完了
大功告成。文章來源:http://www.zghlxwxcb.cn/news/detail-663997.html
source:Python安裝scrapy庫過程中出現(xiàn)“ Failed building wheel for xxx”的解決辦法文章來源地址http://www.zghlxwxcb.cn/news/detail-663997.html
到了這里,關(guān)于成功解決:ERROR:Could not build wheels for pandas, which is required to install pyproject.toml-based的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!