pywt是用于小波变换的python包

包地址:https://github.com/PyWavelets/pywt

雷区:

使用pip安装时,必须使用大写

pip install PyWavelets

 

提示缺少模块

No module named '_ctypes'

python版本问题,检查python版本。若刚升级,则此时安装libffi-devel ,重新编译python3

yum install libffi-devel -y

 

make
make install

提示缺少模块

module 'pywt' has no attribute 'wavelet'

 pywt与PyWavelets 并非一个包

pip uninstall pywt
pip install PyWavelets

 

Logo

技术共进,成长同行——讯飞AI开发者社区

更多推荐