温馨提示×

Centos安装各种数据分析库,numpy,pandas,matplotlib,seaborn,scipy

发布时间:2020-08-09 10:05:24 来源:网络 阅读:8168 作者:youerning 栏目:网络安全

环境centos:6.5


安装

numpy pandas matplotlib seaborn scipy


首先安装这些包的一些依赖不然用pip安装不了这些

yum -y install blas blas-devel lapack-devel lapack
yum -y install seaborn scipy
yum -y install freetype freetype-devel libpng libpng-devel


然后用豆瓣的pypi源要比官方的快很多

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


免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。