Posts Tagged ‘fortran’

Install NumPy and SciPy on Ubuntu

November 9, 2011 9 comments

On Ubuntu 11.10, here is what I had to do:

sudo pip install numpy
sudo apt-get install libatlas-base-dev gfortran
sudo pip install scipy
sudo pip install matplotlib   # recommended

Line 2 was necessary for SciPy, otherwise it was complaining that BLAS and a Fortran compiler were missing. Note that gfortran replaces the package g77.

Categories: python, ubuntu Tags: , , , ,