- Numpy install:
Here we basically follow the instruction of the instruction on the webpage"http://www.hongliangjie.com/2012/04/01/install-numpy-and-scipy-on-centos-without-root-privilege/"
- Scipy install:
Notice that here you have to install LAPAC and BLAS correctly before you install NUmpy. You can find some instruction about LAPAC and BLAS installation also from the link above.
- Copy the 'site.cfg' to the untared directory file folder of scipy, say in my case 'scipy-0.10.1'.
- You have to make sure in which directory installed your python library. This is why I failed before. Michael somehow is experienced to that, and he find it out. So open the site.cfg and change the lines under '[Default]':
library_dirs = /usr/lib
include_dirs = /usr/include
src_dirs = [BLAS]:[LAPACK]
- Under the folder of 'scipy-0.10.1' in your terminal, you have to make sure to build with either gfortran or g77 complier, in my case I use gfortran, so you type:
- Then you can install scipy in your local computer:
No comments:
Post a Comment