成功解决:ERROR:Could not build wheels for pandas, which is required to install pyproject.toml-based

项目场景:

python 3.11.2 pip 安装 pyhive依赖包 sasl 问题

问题描述

通过 pip install sasl安装sasl 报错 :RROR: Could not build wheels for sasl, which is required to install pyproject.toml-based projects
成功解决:ERROR:Could not build wheels for pandas, which is required to install pyproject.toml-based

原因分析:

缺少对应的whl文件

解决方案:

安装对应的whl文件

下载并安装对应的whl文件,可以通过以下地址下载。
Unofficial Windows Binaries for Python Extension Packages

下载的时候要下载跟自己python版本一致,并且系统一致的版本

获得whl文件后,直接 pip install 【whl文件绝对路径】

然后就可以装成功了。

开始安装

pip install C:\Users\reach\Downloads\python_ldap-3.4.0-cp311-cp311-win_amd64.whl

一会就装完了

 

本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://net2asp.com/f3102b96b9.html