Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using RHEL6, Python 2.6.6, and trying to install SciPy through pip.

[user@server ~]$ sudo pip install scipy
  libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64/atlas']

Yet, when I list the files in /usr/lib64/atlas:

[user@server ~]$ ls /usr/lib64/atlas

Any ideas?

share|improve this question
You probably <snip>ped out the error message which says why. and besides, SciPy is already included in RHEL. – Michael Hampton Jul 12 '13 at 19:26
Very possible Michael. I'm unfortunately not a Python user, so thought I was posting the relevant portion. The full pip.log is located at: – Erik Iveson Jul 12 '13 at 19:36
Why don't you just install the existing package? – Michael Hampton Jul 12 '13 at 19:40
Mostly because the version is rather old (0.7.2) and I had already installed a package called 'pandas' that required an updated version of numpy, so was not using the rhel version of numpy. User just confirmed that the version of numpy now installed via scipy broke his pandas code. May do this: – Erik Iveson Jul 12 '13 at 19:51
I wouldn't use bare bones pip install outside a virtualenv on Python, exactly for the fear of breaking things. Usually, rolling an RPM is preferred. – Deer Hunter Jul 14 '13 at 8:32

Numpy and Scipy are strange beasts. The big annoyance is the Fortran ABI mismatch, among other things. From the installation page:

If your blas/lapack/atlas is built with g77, you must use g77 when building numpy and scipy;

If your atlas is built with gfortran, you must build numpy/scipy with gfortran.

Run ldd on the version of Atlas you have.

If is a dependency, g77 was used and you'll need to pass these options when building:

python build --fcompiler=gnu

Alternatively, if is a dependency, it was built with gfortran and you'll need to set the proper fortran compiler:

python build --fcompiler=gnu95

As a side note, if the processors your machine is running on include SIMD support I highly suggest installing the optimized versions of atlas (e.g. atlas3-sse).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.