[英]module 'scipy.signal' has no attribute 'stft'
From the docs: New in version 0.19.0.
来自文档:
New in version 0.19.0.
http://scipy.github.io/devdocs/generated/scipy.signal.stft.html#scipy.signal.stft http://scipy.github.io/devdocs/generated/scipy.signal.stft.html#scipy.signal.stft
You need to check your module version, you van refer to this post . 您需要检查您的模块版本,您可以参考这篇文章 。
stft func is added in the SciPy 0.19.0 , check this post to upgrade your module to the newsest version. 在SciPy 0.19.0中添加了stft func,请查看此文章以将模块升级到最新版本。
You need to upgrade to v 0.19.0. 您需要升级到v 0.19.0。 I tried many ways to do that but always got 0.18 instead.
我尝试了很多方法,但总是得到0.18。 So to upgrade to 0.19.0 just simply do
所以要升级到0.19.0就这么简单
pip install scipy==0.19.0
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.