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