[SciPy-User] [SciPy-user] Incomplete SciPy (probably related to LAPACK), help requested.

Agile Aspect agile.aspect@gmail....
Tue Oct 6 11:01:03 CDT 2009


On Tue, Oct 6, 2009 at 8:41 AM, Daniel Cotton <daniel.cotton@gmail.com> wrote:
>
> I am currently driving myself crazy with a Python 2.5.1 installation problem
> on a remote linux (scientific linux) machine administered by an admin. The
> machine uses gcc 3.4.5 and needs to be kept at this level for other
> software.
>
> Basically I get this error:
>
>>>> from scipy import interpolate
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File
> "/usr/local/lib/python2.5/site-packages/scipy/interpolate/__init__.py",
> line 13, in <module>
>   from rbf import Rbf
>  File "/usr/local/lib/python2.5/site-packages/scipy/interpolate/rbf.py",
> line 47, in <module>
>   from scipy import linalg
>  File "/usr/local/lib/python2.5/site-packages/scipy/linalg/__init__.py",
> line 8, in <module>
>   from basic import *
>  File "/usr/local/lib/python2.5/site-packages/scipy/linalg/basic.py",
> line 24, in <module>
>   from scipy.linalg import calc_lwork
> ImportError: cannot import name calc_lwork
>
> Or this one:

Appears to be a problem with scipy.linalg - see the end of the
next message.


>
>>>> from scipy.interpolate import interp1d
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File
> "/usr/local/lib/python2.5/site-packages/scipy/interpolate/__init__.py",
> line 13, in <module>
>   from rbf import Rbf
>  File "/usr/local/lib/python2.5/site-packages/scipy/interpolate/rbf.py",
> line 47, in <module>
>   from scipy import linalg
>  File "/usr/local/lib/python2.5/site-packages/scipy/linalg/__init__.py",
> line 8, in <module>
>   from basic import *
>  File "/usr/local/lib/python2.5/site-packages/scipy/linalg/basic.py",
> line 389, in <module>
>   import decomp
>  File "/usr/local/lib/python2.5/site-packages/scipy/linalg/decomp.py",
> line 23, in <module>
>   from blas import get_blas_funcs
>  File "/usr/local/lib/python2.5/site-packages/scipy/linalg/blas.py",
> line 14, in <module>
>   from scipy.linalg import fblas
> ImportError: /usr/local/lib/python2.5/site-packages/scipy/linalg/fblas.so:
> undefined symbol: _gfortran_compare_string

Wrong fortran compiler for fblas. Note, g77 and gfortran have different ABIs.




-- 
     "We are drowning in information and starving for knowledge."

                                                          --
Rutherford D. Roger


More information about the SciPy-User mailing list