Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Centos installs various data analysis libraries, numpy,pandas,matplotlib,seaborn,scipy

Shulou Source: shulou.com Published: 2022-06-01 02:17:16 10月04日 Update

Environment centos:6.5

Installation

Numpy pandas matplotlib seaborn scipy

Install some dependencies of these packages first, otherwise you can't install them with pip.

Yum-y install blas blas-devel lapack-devel lapackyum-y install seaborn scipyyum-y install freetype freetype-devel libpng libpng-devel

Then using Douban's pypi source is much faster than the official one.

Pip install matplotlib-I http://pypi.douban.com/simple-- trusted-host pypi.douban.compip install numpy-I http://pypi.douban.com/simple-- trusted-host pypi.douban.compip install pandas-I http://pypi.douban.com/simple-- trusted-host pypi.douban.compip install seaborn scipy

Tags: Official environment Douban data data analysis analysis Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno NVidia Xiaomi Shulou Tech Info Redmi