安装pandas:ERROR: Could not build wheels for pandas which use PEP 517 and cannot be installed directly

Python3默认安装pandas:ERROR: Could not build wheels for pandas which use PEP 517 and cannot be installed directly

问题:安装pandas: pip install pandas ,后台自动下载pandas 0.22.0版本;然后出错

原因

我的python版本是 3.7.6,它不兼容 pandas 0.22.0;

问题解决

选择 pandas 的 0.17.0 版本,安装成功。

命令:pip install pandas==0.17.0

备注:安装时,要注意版本之间的兼容性问题。

猜你喜欢

转载自blog.csdn.net/fen_fen/article/details/133763934