msnoise master - AttributeError: module 'scipy.signal' has no attribute 'hann' #345
Closed
gmsilveira
started this conversation in
General
Replies: 2 comments
-
It seems you have to manually install the last-but version of scipy Conda install -c conda-forge "scipy<1.13" |
Beta Was this translation helpful? Give feedback.
0 replies
-
Great, it is working now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thanks in advance for any help on this weird issue:
AttributeError: module 'scipy.signal' has no attribute 'hann'
I have msnoise running in 3 different MAC OS and all is fine.
I have now installed the master version for a student and all seemed fine but I get the message below when computing
msnoise cc compute_cc.
Best
Graça Silveira
Traceback (most recent call last):
File "/opt/anaconda3/envs/obspy/bin/msnoise", line 8, in
sys.exit(run())
File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/msnoise/scripts/msnoise.py", line 1529, in run
cli(obj={})
File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/msnoise/scripts/msnoise.py", line 760, in cc_compute_cc
main(loglevel=loglevel)
File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/msnoise/s03compute_no_rotation.py", line 380, in main
taper_sides = scipy.signal.hann(2 * wlen + 1)
AttributeError: module 'scipy.signal' has no attribute 'hann'
Beta Was this translation helpful? Give feedback.
All reactions