jbn / ZigZag

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with install zigzag

631202349 opened this issue · comments

Environment:
ubuntu20.04
python3.8.10
Description:
there is an error while I installing zigzag use the command "pip3 install zigzag".So i try to use command"pip3 install --no-cache-dir zigzag" found in the closed issue.It's also didn't work.There is the report below:
Collecting zigzag
Downloading ZigZag-0.2.2.tar.gz (126 kB)
|████████████████████████████████| 126 kB 347 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-em3l591v/zigzag/setup.py'"'"'; file='"'"'/tmp/pip-install-em3l591v/zigzag/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-em3l591v/zigzag/pip-egg-info
cwd: /tmp/pip-install-em3l591v/zigzag/
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-em3l591v/zigzag/setup.py", line 5, in
from Cython.Build import cythonize
ModuleNotFoundError: No module named 'Cython'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output

ModuleNotFoundError: No module named 'Cython'

I just updated the package for better installs with poetry. Please try,

pip install zigzag==0.3.0

and see if it works.