jbn / ZigZag

Python library for identifying the peaks and valleys of a time series.
BSD 3-Clause "New" or "Revised" License
434 stars 174 forks source link

Pip install problem #33

Open Sithipath41 opened 1 year ago

Sithipath41 commented 1 year ago

Hi, I've tried to install the zigzag and I got the error does anyone encounter the same error? Please let me know if you have any ideas on how to solve it, appreciated it

PS C:\Users\sithi\source\repos\Test> pip install zigzag==0.3.0 Collecting zigzag==0.3.0 Downloading https://files.pythonhosted.org/packages/1e/bf/a9e55f35a1275bcfcf6e5418042c14b4e264ef54da1a6d100737e29cbbed/zigzag-0.3.0.tar.gz (109kB) |████████████████████████████████| 112kB 3.3MB/s ERROR: Exception: Traceback (most recent call last): File "c:\users\sithi\appdata\local\programs\python\python38-32\lib\site-packages\pip_internal\cli\base_command.py", line 188, in main status = self.run(options, args) File "c:\users\sithi\appdata\local\programs\python\python38-32\lib\site-packages\pip_internal\commands\install.py", line 345, in run resolver.resolve(requirement_set) File "c:\users\sithi\appdata\local\programs\python\python38-32\lib\site-packages\pip_internal\legacy_resolve.py", line 196, in resolve self._resolve_one(requirement_set, req) File "c:\users\sithi\appdata\local\programs\python\python38-32\lib\site-packages\pip_internal\legacy_resolve.py", line 359, in _resolve_one abstract_dist = self._get_abstract_dist_for(req_to_install) File "c:\users\sithi\appdata\local\programs\python\python38-32\lib\site-packages\pip_internal\legacy_resolve.py", line 305, in _get_abstract_dist_for abstract_dist = self.preparer.prepare_linked_requirement( File "c:\users\sithi\appdata\local\programs\python\python38-32\lib\site-packages\pip_internal\operations\prepare.py", line 214, in prepare_linked_requirement abstract_dist.prepare_distribution_metadata( File "c:\users\sithi\appdata\local\programs\python\python38-32\lib\site-packages\pip_internal\distributions\source.py", line 30, in prepare_distribution_metadata self.req.load_pyproject_toml() File "c:\users\sithi\appdata\local\programs\python\python38-32\lib\site-packages\pip_internal\req\req_install.py", line 501, in load_pyproject_toml pyproject_toml_data = load_pyproject_toml( File "c:\users\sithi\appdata\local\programs\python\python38-32\lib\site-packages\pip_internal\pyproject.py", line 66, in load_pyproject_toml pp_toml = pytoml.load(f) File "c:\users\sithi\appdata\local\programs\python\python38-32\lib\site-packages\pip_vendor\pytoml\parser.py", line 11, in load return loads(fin.read(), translate=translate, object_pairs_hook=object_pairs_hook, filename=getattr(fin, 'name', repr(fin))) File "c:\users\sithi\appdata\local\programs\python\python38-32\lib\site-packages\pip_vendor\pytoml\parser.py", line 46, in loads scope[k] = process_value(v, object_pairs_hook=object_pairs_hook) File "c:\users\sithi\appdata\local\programs\python\python38-32\lib\site-packages\pip_vendor\pytoml\parser.py", line 35, in process_value error('array-type-mismatch') File "c:\users\sithi\appdata\local\programs\python\python38-32\lib\site-packages\pip_vendor\pytoml\parser.py", line 27, in error raise TomlError(msg, pos[0], pos[1], filename) pip._vendor.pytoml.core.TomlError: C:\Users\sithi\AppData\Local\Temp\pip-install-o1eaifoz\zigzag\pyproject.toml(19, 1): array-type-mismatch