[SciPy-user] OSX _fitpack import problem

Dave davbrow at gmail.com
Mon Mar 5 03:43:12 EST 2007


I have not been able to build a completely working scipy for python
2.5 on OS X (PPC).  Much of it seems to work but I get an error when
trying to import scipy.interpolate:

/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/interpolate/fitpack.py
in <module>()
     32     'bisplrep', 'bisplev']
     33 __version__ = "$Revision: 2252 $"[10:-1]
---> 34 import _fitpack
     35 from numpy import atleast_1d, array, ones, zeros, sqrt, ravel,
transpose, \
     36      dot, sin, cos, pi, arange, empty, int32

<type 'exceptions.ImportError'>:
dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/interpolate/_fitpack.so,
2): Symbol not found: _e_wsle
  Referenced from:
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/interpolate/_fitpack.so
  Expected in: dynamic lookup


I installed using instructions from the scipy web site
(http://www.scipy.org/Installing_SciPy/Mac_OS_X).  Here's additional
info.

gfortran --version
GNU Fortran 95 (GCC) 4.3.0 20061223 (experimental)

gcc --version
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5367)

I installed scipy from the tar archive (scipy-0.5.2), not svn.

In searching I found postings where others have had this problem over
the last few months but I didn't find a solution.  Does anyone know
what's going on and how this can be resolved?

-- David



More information about the SciPy-User mailing list