Re: [PyWavelets] Getting error: AttributeError: module 'pywt' has no attribute 'dwt'

3,082 views
Skip to first unread message

Gregory Lee

unread,
Jul 2, 2018, 2:02:43 PM7/2/18
to pywav...@googlegroups.com
> Getting error: AttributeError: module 'pywt' has no attribute 'dwt'

This sounds like a problem with your PyWavelets installation.  How did you install PyWavelets and what operating system and python version are you using?

felixt...@gmail.com

unread,
Jul 3, 2018, 12:31:19 PM7/3/18
to PyWavelets
Yes, me too. 
if you have already solve this problem, please share with me. Thanks

hsiao...@gmail.com

unread,
Jul 10, 2018, 4:56:53 AM7/10/18
to PyWavelets
Hello.

1. You can check the "pywt" package is installed properly or not. That will be the wrong package installed if you type "pip install pywt" in your command shell, so type "pip install pywavelets" instead.

2. If you check the installation right and can find the 'pywt' folder in the site-pacakages folder. Then you can use the command shell and into python for testing the pywt package.
    In my case, I import the dwt by typing "import pywt._dwt as dwt", and it will be connected to the module "_dwt" so that you can use the function "dwt" directly.

Thanks
Chunyi


felixt...@gmail.com於 2018年7月4日星期三 UTC+9上午1時31分19秒寫道:

wangz...@gmail.com

unread,
Aug 5, 2018, 1:55:07 AM8/5/18
to PyWavelets
you should reinstall 'pywt' by pip and install 'PyWavelets'
they are two different package

在 2018年7月3日星期二 UTC+8上午2:02:43,Gregory Lee写道:

harshit....@gmail.com

unread,
Jan 7, 2019, 1:28:19 PM1/7/19
to PyWavelets
You can uninstall pywt using pip uninstall pywt and then do either conda install pywavelets or pip install pywavelets. that will work.

Best,
Harshit
Reply all
Reply to author
Forward
0 new messages