[SciPy-user] Scipy on MacOS X, troubles

Marco gaedol at gmail.com
Fri Nov 3 09:00:45 EST 2006


Hi all,
new to the ML, here. :)

I have some troubles with SciPy on Tiger.

I have complied scipy (and numpy) on my laptop  (ibook g4) using all
the hints on the "Installing SciPy on MacOSX" page, but i still have
some problems.
If i do something list "import scipy", on python 2.4.3 (ActiveState),
it all runs well, and i have scipy to use.
If, instead, i use "from scipy import *" then i obtain, as an answer
from python:

>>> from scipy import *
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/linsolve/__init__.py",
line 5, in ?
    import umfpack
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/linsolve/umfpack/__init__.py",
line 3, in ?
    from umfpack import *
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/linsolve/umfpack/umfpack.py",
line 11, in ?
    import scipy.sparse as sp
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/sparse/__init__.py",
line 5, in ?
    from sparse import *
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/sparse/sparse.py",
line 12, in ?
    import sparsetools
ImportError: Failure linking new module:
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/sparse/sparsetools.so:
Symbol not found: _sprintf$LDBLStub
  Referenced from:
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/sparse/sparsetools.so
  Expected in: dynamic lookup


Now,
i could modify the codebase to use the "import scipy" and not "from
scipy import *" (that's code i've been writing on linux and then moved
to mac), but it would take time, maybe too much.

I have been lookin on list archives, and found something but i've not
really understood what to do...
So,
any good soul? :)

TIA,

marco

PS
RTFM welcomed only if with links on what to read :)



More information about the SciPy-User mailing list