install numpy scipy on ubuntu

2013年10月18日

####linux上安装numpy scipy

    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.


期待您的分享与讨论: