VivekPa / AIAlpha

Use unsupervised and supervised learning to predict stocks
MIT License
1.71k stars 446 forks source link

pywt has no attribute dwt #14

Closed imohammadhossein closed 5 years ago

imohammadhossein commented 5 years ago

hi , in preprocess.py i have this following error : pywt module has no attribute dwt ()

danizil commented 5 years ago

Had the same problem. There are two python packages called pywt, the one named pywt being the wrong one... First you need to pip uninstall pywt and then install pywavelets. I did it the other way around: first installing pywavelets and things also got jammed. in this case you need to uninstall both and then install pywavelets. In order to import you need to "import pywt" as you did before. Happy piping

VivekPa commented 5 years ago

Hi, I have removed the usage of pywt in this version due to the bugs in running the modules.