ubuntu18.04 搭建机器学习环境numpy+pandas+sklearn+matplotlib(python2.7)


1.安装scipy

sudo apt-get install libblas-dev liblapack-dev libatlas-base-dev gfortran

sudo pip install scipy

2.安装numpy

sudo pip install numpy

3.安装pandas

sudo pip install pandas

4.安装matplotlib步骤

apt-get install libfreetype6-dev libxft-dev

pip install matplotlib 
安装第三方库
pip install python-dateutil 

5.安装sklearn

pip install sklearn

你可能感兴趣的:(ubuntu18.04 搭建机器学习环境numpy+pandas+sklearn+matplotlib(python2.7))