[SciPy-user] no linalg module and failed check_integer test

Jeremy Conlin jeremit0@gmail....
Tue Feb 27 15:02:31 CST 2007


On 2/27/07, Robert Kern <robert.kern@gmail.com> wrote:
> > I didn't notice any errors during the installation.  I know this isn't
> > a lot of information to go on, but does anyone know what the problem
> > is?
>
> Don't bother with pkgload. Just import scipy.linalg.

I tried that:

Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy
>>> import scipy.linalg
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/linalg/__init__.py",
line 8, in <module>
    from basic import *
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/linalg/basic.py",
line 17, in <module>
    from lapack import get_lapack_funcs
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/linalg/lapack.py",
line 17, in <module>
    from scipy.linalg import flapack
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/linalg/flapack.so,
2): Symbol not found: ___dso_handle
  Referenced from:
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/linalg/flapack.so
  Expected in: dynamic lookup

>>>

Sorry.  I don't understand what all of those mean or I would try something.

> > ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/special/_cephes.so,
> > 2): Symbol not found: ___dso_handle
> >   Referenced from:
> > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/special/_cephes.so
> >   Expected in: dynamic lookup
>
> No, it's different. Exactly what versions of OS X (version number and Intel or
> PPC), gcc, gfortran (also where you got it from), Xcode do you have installed?
> You might need to install the latest version of cctools from here (AFAIK, the
> best place to get it):
>
>   ftp://gcc.gnu.org/pub/gcc/infrastructure/cctools-590.36.dmg
>
> That said, I've never installed it on my MacBook, and I've never had this problem.
>
I have the latest version of Xcode installed.  I am running on a
MacBook Pro with the latest OS X version.  I am running gcc version
4.0.1 and gfortran version 4.3.0.  I got gfortran by following the
instructions on the install scipy page for Mac OS X; it links to this
package:
http://prdownloads.sourceforge.net/hpc/gfortran-intel-bin.tar.gz?download

Thanks,
Jeremy


More information about the SciPy-user mailing list