Skip to content Skip to sidebar Skip to footer

Installing Scipy On Red Hat

I am trying to install the SciPy package on Red Hat Enterprise Linux Server release 6.3. However, it is failing. The version of Python I am using is 2.6, however it seems to requir

Solution 1:

Enable the EPEL repository: https://fedoraproject.org/wiki/EPEL

After that, just "yum install scipy"

Solution 2:

I was able to solve this problem by downloading the latest version of NumPy (building and installing that from the source since the one on the Red Hat package manager was a couple versions outdated), then installing scipy (via the setup.py scipy file I had downloaded).

Solution 3:

A problem I ran into when installing SciPy from setup.py on RHEL 5 was undefined _gfortran symbols.

I found out this is due to a mismatch in the FORTRAN compiler used -- I had used the gfortran compiler to build the ATLAS/BLAS libraries but was using the g77 compiler to build SciPy

If you have this problem, fix it by specifying the FORTRAN version to use with setup. In my case, to use the gfortran compiler:

python setup.py build --fcompiler=gnu95 --force

The --force flag was necessary to correct the build with the wrong compiler.

To list your FORTRAN compilers available use:

python setup.py build --help-fcompiler

After that,

python setup.py install

as usual.

Post a Comment for "Installing Scipy On Red Hat"