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

 

posted @ 2018-04-27 18:53  zhang.ning  阅读(7383)  评论(0编辑  收藏  举报