This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:compiling_python_2_7_3 [2012/09/19 17:52] adymond [NumPy and SciPy] |
howto:compiling_python_2_7_3 [2021/12/09 16:42] (current) |
||
|---|---|---|---|
| Line 347: | Line 347: | ||
| $ python setup.py install | $ python setup.py install | ||
| - | + | ||
| === Scipy, minimal install === | === Scipy, minimal install === | ||
| $ cd ~/scratch | $ cd ~/scratch | ||
| $ wget http:// | $ wget http:// | ||
| - | $ tar -xf scipy-0.10.1.tar.gz | + | $ tar -xf scipy-0.10.1.tar.gz |
| $ cd scipy-0.10.1/ | $ cd scipy-0.10.1/ | ||
| - | Set blas and lapack paths | + | |
| - | $ export ATLAS=None | + | |
| - | $ export BLAS=$HOME/ | + | |
| - | $ export LAPACK=$HOME/ | + | |
| - | Build it, which takes a while | + | |
| - | | + | |
| - | Install it | + | |
| - | $ python setup.py install | + | |
| - | + | testing, | |
| - | Once the build has been successfully completed, its time to install and test | + | $ mkdir -p /tmp/$USER/scipy-0.10.1 |
| - | scipy | + | $ python setup.py install |
| - | $ python setup.py install | + | |
| - | | + | |
| $ ipython | $ ipython | ||
| - | | + | |
| - | $ scipy.test() | + | $ sys.path.insert(0,'/ |
| + | $ import scipy | ||
| + | | ||
| which did not work 100 % :( | which did not work 100 % :( | ||
| FAILED (KNOWNFAIL=13, | FAILED (KNOWNFAIL=13, | ||
| Out[2]: < | Out[2]: < | ||
| + | If testing satisfactory, | ||
| + | $ rm -r / | ||
| + | $ python setup.py install | ||
| ==== matplotlib / pylab ==== | ==== matplotlib / pylab ==== | ||