[SciPy-User] scipy.signal not installing (mac)

9 views
Skip to first unread message

Brian Larsen

unread,
Mar 24, 2010, 12:59:30 PM3/24/10
to scipy...@scipy.org
Hello all, 

I didn't see an answer on this in my google searching.  I installed scipy from the latest svn and for some reason scipy.signal does not exist (or isnt installed).

Files like scipy/scipy/signal/waveforms.py do seem to exist but aren't being compiled.

Is there a way to tell if I am missing prerequisites or something?

Sorry I am not sure what more info to pass along, aside from that I followed http://blog.hyperjeff.net/?p=160 to do my install so I have numpy, fftw, etc installed.

Thanks much, 

Brian











-- 

Brian A. Larsen
Space Science and Applications
Group ISR-1, MS D466
Los Alamos National Laboratory
Los Alamos, NM 87545
USA

(For overnight add:
SM-30, Bikini Atoll Road)

Phone: TBD
FAX:   505-665-7395
email: bala...@lanl.gov

Correspondence /
Technical data or Software Publicly Available




David Baddeley

unread,
Mar 24, 2010, 2:43:42 PM3/24/10
to SciPy Users List
Have you checked to see if there's an __init__.py under scipy.signal? If the folders are there with files in them then this would be the most obvious reason for not being able to import scipy.signal. Have you tried explicitly importing scipy.signal and not just scipy? A while back scipy was changed so that most of the sub modules needed to be imported explicitly so as to reduce the overhead when only using one part of scipy.

cheers,
David


From: Brian Larsen <bala...@lanl.gov>
To: scipy...@scipy.org
Sent: Thu, 25 March, 2010 5:59:30 AM
Subject: [SciPy-User] scipy.signal not installing (mac)

Brian Larsen

unread,
Mar 24, 2010, 5:32:34 PM3/24/10
to scipy...@scipy.org
David, 

I found part of the issue, I had some bogus env variables that I had to kill.  The issue was the c was not compiling, but...

I have a new error that has an odd name _aswfa_...

Below is the error:

Cheers, 

Brian








In [4]: import scipy.signal
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/Users/balarsen/<ipython console> in <module>()

/Library/Python/2.6/site-packages/scipy/signal/__init__.py in <module>()
      7 import sigtools
      8 from waveforms import *
----> 9 from bsplines import *
     10 from filter_design import *
     11 from ltisys import *

/Library/Python/2.6/site-packages/scipy/signal/bsplines.py in <module>()
      2 
----> 3 import scipy.special
      4 from numpy import logical_and, asarray, pi, zeros_like, \
      5      piecewise, array, arctan2, tan, zeros, arange, floor
      6 from numpy.core.umath import sqrt, exp, greater, less, cos, add, sin, \

/Library/Python/2.6/site-packages/scipy/special/__init__.py in <module>()
      6 #from special_version import special_version as __version__

      7 
----> 8 from basic import *
      9 import specfun
     10 import orthogonal

/Library/Python/2.6/site-packages/scipy/special/basic.py in <module>()
      6 
      7 from numpy import *
----> 8 from _cephes import *
      9 import types
     10 import specfun

ImportError: dlopen(/Library/Python/2.6/site-packages/scipy/special/_cephes.so, 2): Symbol not found: _aswfa_
  Referenced from: /Library/Python/2.6/site-packages/scipy/special/_cephes.so
  Expected in: flat namespace
 in /Library/Python/2.6/site-packages/scipy/special/_cephes.so

Reply all
Reply to author
Forward
0 new messages