[SciPy-dev] SciPy on MacOS X (almost)
Prabhu Ramachandran
prabhu at aero.iitm.ernet.in
Mon Feb 18 22:12:18 CST 2002
>>>>> "JNL" == J Nicholas Laneman <J> writes:
JNL> [localhost:~] jnl% python Python 2.2 (#1, Feb 17 2002,
JNL> 21:17:18) [GCC 2.95.2 19991024 (release)] on darwin Type
JNL> "help", "copyright", "credits" or "license" for more
JNL> information.
>>>> import scipy
JNL> Traceback (most recent call last): File "<stdin>", line 1, in
JNL> ? File
JNL> "/loc/fink/lib/python2.2/site-packages/scipy/__init__.py",
JNL> line 41, in ? from handy import * File
JNL> "/loc/fink/lib/python2.2/site-packages/scipy/handy.py", line
JNL> 1, in ? import Numeric File
JNL> "/loc/fink/lib/python2.2/site-packages/Numeric/Numeric.py",
JNL> line 119, in ? arrayrange = multiarray.arange
JNL> AttributeError: 'module' object has no attribute 'arange'
Looks like a bug in handy.py. This problem does not exist in the
current scipy cvs tree. I think if you upgrade (i.e. switch to using
the cvs tree) this problem should disappear.
>>>> from scipy.integrate import *
JNL> "/loc/fink/lib/python2.2/site-packages/Numeric/RandomArray.py",
JNL> line 3, in ? import LinearAlgebra File
JNL> "/loc/fink/lib/python2.2/site-packages/Numeric/LinearAlgebra.py",
JNL> line 8, in ? import lapack_lite ImportError: Failure linking
JNL> new module
>>>>
Can you look at the lapack_lite.so (or the equivalent library) it
should be in the prefix/site-packages/Numeric/lapack_lite.so and see
what libraries are linked in? This looks like an atlas/lapack linking
related issue.
prabhu
More information about the Scipy-dev
mailing list