pandas之whl格式安装


一.主要介绍linux下安装

1.下载安装包:https://pypi.doubanio.com/simple/pandas/

2.安装  pip install wheel

3.更新一下pip版本(可选):pip install --upgrade pip

4.下载安装包为:pandas-0.20.3-cp27-cp27m-manylinux1_x86_64.wh  ,注意要修改成pandas-0.20.3-cp27-none-linux_x86_64.whl  不然会安装成功。

5.pip install pandas-0.20.3-cp27-none-linux_x86_64.whl

PS:之前一直报:pip安装报错:is not a supported wheel on this platform

 二.源码安装 ,下载对应的包:https://pypi.org/project/pandas/0.20.3/#files

1.安装GCC相关,yum install gcc* -y

2.安装numpy, pip install numpy

3.安装pandas

cd pandas-0.20.3

python setup.py build # 比较久

python setup.py install

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM