next up previous contents index
Next: Compiling Gildas with your Up: Installing PyGILDAS Previous: Install NumPy module for   Contents   Index

Install scipy module for Python (optional)

The module named scipy (Scientific Python) is not necessary for the Gildas-Python binding, but it provides useful functionalities you may want. The build and installation process is exactly the same as for NumPy:

  1. Download scipy from:

  2. Unpack and compile scipy:
    cd <compilation-directory>
    tar xvzf scipy-0.7.1.tar.gz
    cd scipy-0.7.1
    python build --fcompiler=<compiler>

  3. Install:
    python install [--prefix=/some/custom/installation/prefix]
    If you provide a custom installation path (-prefix), use the same as for NumPy: you will not have to augment again the $PYTHONPATH for this second module.

  4. Check the installation:
    import scipy
    from scipy.special import jn
    (the last line tries to import the Bessel functions named jn).

Gildas manager 2014-07-01