[SciPy-user] Trouble installing on OSX 10.4 Intel

David Andrews irbdavid at gmail.com
Thu Sep 14 11:27:27 CDT 2006


Hi,

I'm a little lost here - i've d/led and installed everything in the
scipy superpack, yet i am still unable to import certain components of
scipy and matplotlib / pylab.  The only thing that does appear to be
fully installed is numpy, which i guess is a start.

So here is what I get when i try '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 ?
    from linsolve import *
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/linsolve/linsolve.py",
line 1, in ?
    from scipy.sparse import isspmatrix_csc, isspmatrix_csr, isspmatrix, spdiags
  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:
Library not loaded: /usr/local/lib/libgfortran.1.dylib
  Referenced from:
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/sparse/sparsetools.so
  Reason: image not found

And with 'from pylab import *':

Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/pylab.py",
line 1, in ?
    from matplotlib.pylab import *
ImportError: No module named matplotlib.pylab

So any suggestions?

I previously had a working install of matplotlib/pylab and numpy, if
that suggest anything to you?

I think sticking a readme file in the superpack might be a good idea.

Cheers,

Dave


More information about the SciPy-user mailing list