[PYTHON] Machine learning kit numpy matplotlib scipy There is a turn to follow when installing the three families on debian ubuntu

Machine learning kit numpy matplotlib scipy There is a turn to follow when installing the three families on debian ubuntu

python -v

――Yeah, this is true

pip : command not found

--Now from here

sudo apt-get install python-pip

--Pip install is a big mistake if you think it's easy

sudo apt-get install -y python2.7-dev libpng-dev libfreetype6-dev sudo apt-get install -y libgtk2.0-dev sudo apt-get install -y python-gtk2-dev

After inserting the above dev, numpy and matplotlib finally pass

sudo pip install numpy sudo pip install matplotlib

There is no scipy before numpy, but you still have to resolve what you need afterwards.

sudo pip install cython

sudo apt-get install gfortran sudo apt-get install liblapack-dev

sudo pip install scipy

Recommended Posts

Machine learning kit numpy matplotlib scipy There is a turn to follow when installing the three families on debian ubuntu
Notify Slack when the machine learning process running on GCP is finished
Automatically stop the VM when the machine learning process running on GCP is finished