[SciPy-User] scipy can't find a LAPACK routine

Alexander Eberspächer alex.eberspaecher@gmail....
Wed Jan 23 15:42:40 CST 2013

On 01/23/2013 12:58 PM, Alexander Eberspächer wrote:

> [LAPACK Symbols]
>> BTW, I am running python 2.7 on CentOS 5.x and my FORTRAN compiler is
>> gfortran.
> AFAIR, CentOS typically installing the ATLAS libraries
> to /usr/lib64/atlas/ instead of /usr/lib/ or /usr/lib64/. This path ist
> most likely not in your LD_LIBRARY_PATH environment variable. Thus, on
> import, there are missing symbols.

Sorry for the sloppy spelling above :/

Here's how to append the suggested path to LD_LIBRARY_PATH using bash:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64/atlas/

Then, start a Python shell and try again.



More information about the SciPy-User mailing list