jbn / ZigZag

Python library for identifying the peaks and valleys of a time series.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I got an error when importing the zigzag lib

lvvdat opened this issue · comments

I got an error when importing the zigzag lib:

ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use 'numpy._import_array' to disable if you are certain you don't need it).

It seems that under Windows, I also got this error.

Yup, same here

same -- only way I can get it to work is in it's own library, but then it breaks basically everything else I try installing.

I had the same issue after installing seaborn by conda, which downgraded numpy to 1.21.5. After upgrading numpy back to 1.23.1, didn't get the error.

commented

I uninstalled numpy=1.23 and I tried numpy==1.21.5 and 1.21.6 .. not working
then upgraded NumPy to the latest version (1.23.4). it worked
thanks @ozanzgur