PyWavelets / pywt

PyWavelets - Wavelet Transforms in Python
http://pywavelets.readthedocs.org
MIT License
1.97k stars 460 forks source link

PyWavelets==1.4.1 Error in linux image for Python 3.10.11 #752

Closed hanzigs closed 2 weeks ago

hanzigs commented 2 weeks ago

can I have some help with this

#9 74.52 Collecting PyWavelets==1.4.1
#9 74.52   Downloading PyWavelets-1.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.8 MB)
#9 74.62      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.8/6.8 MB 75.0 MB/s eta 0:00:00
#9 74.70 ERROR: Ignored the following versions that require a different python version: 0.36.0 Requires-Python >=3.6,<3.10; 0.37.0 Requires-Python >=3.7,<3.10; 0.52.0 Requires-Python >=3.6,<3.9; 0.52.0rc3 Requires-Python >=3.6,<3.9; 0.53.0 Requires-Python >=3.6,<3.10; 0.53.0rc1.post1 Requires-Python >=3.6,<3.10; 0.53.0rc2 Requires-Python >=3.6,<3.10; 0.53.0rc3 Requires-Python >=3.6,<3.10; 0.53.1 Requires-Python >=3.6,<3.10; 0.54.0 Requires-Python >=3.7,<3.10; 0.54.0rc2 Requires-Python >=3.7,<3.10; 0.54.0rc3 Requires-Python >=3.7,<3.10; 0.54.1 Requires-Python >=3.7,<3.10
#9 74.70 ERROR: Could not find a version that satisfies the requirement pywin32==306 (from versions: none)
#9 74.70 ERROR: No matching distribution found for pywin32==306
#9 74.86 
#9 74.86 [notice] A new release of pip is available: 23.0.1 -> 24.0
#9 74.86 [notice] To update, run: pip install --upgrade pip
#9 ERROR: process "/bin/sh -c pip install --no-cache-dir -r scripts/requirements.txt" did not complete successfully: exit code: 1
------
 > [4/4] RUN pip install --no-cache-dir -r scripts/requirements.txt:
74.41      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 kB 184.9 MB/s eta 0:00:00
74.52 Collecting PyWavelets==1.4.1
74.52   Downloading PyWavelets-1.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.8 MB)
74.62      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.8/6.8 MB 75.0 MB/s eta 0:00:00
74.70 ERROR: Ignored the following versions that require a different python version: 0.36.0 Requires-Python >=3.6,<3.10; 0.37.0 Requires-Python >=3.7,<3.10; 0.52.0 Requires-Python >=3.6,<3.9; 0.52.0rc3 Requires-Python >=3.6,<3.9; 0.53.0 Requires-Python >=3.6,<3.10; 0.53.0rc1.post1 Requires-Python >=3.6,<3.10; 0.53.0rc2 Requires-Python >=3.6,<3.10; 0.53.0rc3 Requires-Python >=3.6,<3.10; 0.53.1 Requires-Python >=3.6,<3.10; 0.54.0 Requires-Python >=3.7,<3.10; 0.54.0rc2 Requires-Python >=3.7,<3.10; 0.54.0rc3 Requires-Python >=3.7,<3.10; 0.54.1 Requires-Python >=3.7,<3.10
74.70 ERROR: Could not find a version that satisfies the requirement pywin32==306 (from versions: none)
74.70 ERROR: No matching distribution found for pywin32==306
74.86 
74.86 [notice] A new release of pip is available: 23.0.1 -> 24.0
74.86 [notice] To update, run: pip install --upgrade pip
------
Dockerfile:6
--------------------
   4 |     WORKDIR /src
   5 |     COPY ["requirements.txt", "scripts/requirements.txt"]
   6 | >>> RUN pip install --no-cache-dir -r scripts/requirements.txt
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install --no-cache-dir -r scripts/requirements.txt" did not complete successfully: exit code: 1

tried 1.5.0, getting same Error

rgommers commented 2 weeks ago

The error is ERROR: No matching distribution found for pywin32==306. That looks unrelated to PyWavelets. The scripts/requirements.txt file you're trying to use probably contains more than PyWavelets, and if it does contain pywin32 that is probably a mistake (it sounds like a Windows-only package).

rgommers commented 2 weeks ago

If you want to check PyWavelets by itself, try pip install pywavelets.

hanzigs commented 2 weeks ago

I'm trying both windows and linux image for python 3.10.11