numpy - scipy version hell

Robert Kern robert.kern at
Thu Oct 19 14:29:26 CDT 2006

James K. Gruetzner wrote:
> I'm using Fedora core 5, that insect-laden wonder, which includes python 
> 2.4.3.  I'm trying to install numpy (scipy-core) and scipy (the rest).   I 
> can't seem to get around package conflicts.  I've tried two methods, one in 
> which numpy fails and one in which scipy fails.  
> METHOD 1 (numpy fails)
> Download numpy (numpy-1.0r3); untarball and install.
> Test by running python and importing numpy.  Looks OK, but notes "running from 
> numpy source directory".  So, test by running python from a different 
> directory and importing numpy.  Get the following error:
>>>>  import numpy
>    Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/usr/lib/python2.4/site-packages/numpy/", line 40, in ?
>     import linalg
>   File "/usr/lib/python2.4/site-packages/numpy/linalg/", line 4, 
> in ?
>     from linalg import *
>   File "/usr/lib/python2.4/site-packages/numpy/linalg/", line 25, 
> in ?
>     from numpy.linalg import lapack_lite
> ImportError: /usr/lib/python2.4/site-packages/numpy/linalg/ 
> undefined symbol: s_cat

It looks like you linked against a FORTRAN LAPACK, but didn't manage to link the 
FORTRAN runtime library libg2c. Can you give us the output of your build?

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

More information about the Numpy-discussion mailing list