[SciPy-user] Mac OS X 10.4 can not import from scipy.linalg
Jason Addison
jraddison at gmail.com
Fri Feb 23 01:22:16 EST 2007
I installed the prebuilts:
MacPython
python-2.4.4-macosx2006-10-18.dmg
MacPython.mpkg
SciPy
ScipySuperpack-Intel-10.4-py2.4.dmg
PyMC-1.1-py2.4-macosx10.4.mpkg
gfortranCompleteInstaller.mpkg
matplotlib-0.87.7-py2.4-macosx10.4.mpkg
numpy-1.0.2.dev3522-py2.4-macosx10.4.mpkg
scipy-0.5.3.dev2630-py2.4-macosx10.4.mpkg
I'm using a MacBook Pro with Mac OS 10.4.8 with fink and Mac Developer
Tools installed.
After installing, I tried the tutorial:
jra$ python
Python 2.4.4 (#1, Oct 18 2006, 10:34:39)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from numpy import matrix
>>> from scipy.linalg import inv, det, eig
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/linalg/__init__.py",
line 8, in ?
from basic import *
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/linalg/basic.py",
line 17, in ?
from lapack import get_lapack_funcs
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/linalg/lapack.py",
line 17, in ?
from scipy.linalg import flapack
ImportError: Inappropriate file type for dynamic loading
>>>
Searching for possibly relevent conflicting files I find stuff like:
lapack: clapack.h in vecLib.framework
blas: blas.hpp in ublas from boost numeric
Does anyone have any idea on how to fix this? Is it supposed to work?
Do I have something else installed that is conflicting?
Thanks for your help ... jra
More information about the SciPy-User
mailing list