环境centos:6.5
安装
numpy pandas matplotlib seaborn scipy
首先安装这些包的一些依赖不然用pip安装不了这些
1
2
3
|
yum -y
install
blas blas-devel lapack-devel lapack
yum -y
install
seaborn scipy
yum -y
install
freetype freetype-devel libpng libpng-devel
|
然后用豆瓣的pypi源要比官方的快很多
1
2
3
4
|
pip
install
matplotlib -i http:
//pypi
.douban.com
/simple
--trusted-host pypi.douban.com
pip
install
numpy -i http:
//pypi
.douban.com
/simple
--trusted-host pypi.douban.com
pip
install
pandas -i http:
//pypi
.douban.com
/simple
--trusted-host pypi.douban.com
pip
install
seaborn scipy
|
本文转自 youerning 51CTO博客,原文链接:http://blog.51cto.com/youerning/1711008