项目场景

python 3.10.5 pip 安装 pandas 问题


问题描述

通过 pip install pandas 安装pandas 报错 :ERROR: Could not build wheels for pandas, which is required to install pyproject.toml-based projects
ERROR: Failed building wheel for pandas

在这里插入图片描述


原因分析

缺失pandas对应whl文件


解决方案

安装对应whl文件

下载安装对应whl文件,可以通过以下地址下载
Unofficial Windows Binaries for Python Extension Packages
获得whl文件后,直接 pip install 【whl文件绝对路径
然后可以装成功了。

开始安装
pip install D:迅雷下载pandas-1.4.2-cp310-cp310-win32.whl
开始安装

一会就装完了一会在这里插入图片描述

大功告成。

sourcePython安装scrapy库过程中出现“ Failed building wheel for xxx”的解决办法

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注