7/20/2009

install scipy 0.7.1 on ubuntu hardy

1. download numpy 1.3.0 and scipy 0.7.1
2. remove gfortran and libatlas3gf-sse2 (and related packages which use gfortran)
(numpy and scipy must use g77.. not gfortran)
sudo apt-get install atlas3-base-dev
sudo apt-get install atlas3-sse2

3. tar -xvzf numpy-1.3.0.tar.gz
4. cd numpy-1.3.0
5. python setup.py build --fcompiler=gnu
6. sudo python setup.py install

7. tar -xvzf scipy-0.7.1.tar.gz
8. cd scipy-0.7.1
9. sudo python setup.py install

댓글 없음: