[SciPy-user] Can't import SciPy packages

Lou Pecora lou_boog2000@yahoo....
Thu Sep 13 11:41:11 CDT 2007


I have the SciPy library from Enthought, but I can't
import the sub-packages (like integrate or special) in
ipython.  Here's what happens:

import scipy.integrate
---------------------------------------------------------------------------
exceptions.ImportError                              
Traceback (most recent call last)

/Users/loupecora/<ipython console> 

/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/integrate/__init__.py

      7 from info import __doc__
      8 
----> 9 from quadrature import *
     10 from odepack import *
     11 from quadpack import *

/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/integrate/quadrature.py

      6            'cumtrapz']
      7 
----> 8 from scipy.special.orthogonal import p_roots
      9 from numpy import sum, ones, add, diff, isinf,
isscalar, \
     10      asarray, real, trapz, arange, empty

/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/special/__init__.py

      6 #from special_version import special_version
as __version__
      7 
----> 8 from basic import *
      9 import specfun
     10 import orthogonal

/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/special/basic.py

      6 
      7 from numpy import *
----> 8 from _cephes import *
      9 import types
     10 import specfun

ImportError: Inappropriate file type for dynamic
loading

I'm on a MacBook Pro, Tiger 10.4.10, python 2.4.

Any ideas?  Thanks.



-- Lou Pecora,   my views are my own.
---------------
Great spirits have always encountered violent opposition from mediocre minds. 
-Albert Einstein


       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz 


More information about the SciPy-user mailing list