Import Error

Dear ObsPy users,

After finishing install the ObsPy to my MacOSX I follow the tutorial to filter a seismogram. I found an error when try to filter the trace using command

tr_filt.filter('lowpass', freq=1.0, corners=2, zerophase=True)

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/wiwit/local/lib/python2.6/site-packages/obspy.core-0.4.8-py2.6.egg/obspy/core/util.py", line 476, in new_func
    return func(*args, **kwargs)
  File "/Users/wiwit/local/lib/python2.6/site-packages/obspy.core-0.4.8-py2.6.egg/obspy/core/trace.py", line 1102, in filter
    raise ImportError(msg)
ImportError: Error during import from obspy.signal. Please make sure obspy.signal is installed properly.

May be some body can help me understand the problem and solve it ..

Great thanks,

Wiwit

Hello Wiwit,

I guess you just did not install obspy.signal. Install it in the same way you installed the other ObsPy modules and it should work.

Best wishes,

Lion

Thanks Lion,

It works now. :slight_smile:

Best regards,

Wiwit