Closed Avnsx closed 2 years ago
I installed 50 shades of Pillow until it eventually errored out because of no backwards compability with python 3.9.7 ...
C:\Users\me>pip install imagededup Collecting imagededup Using cached imagededup-0.2.2.tar.gz (60 kB) Collecting numpy<1.17 Using cached numpy-1.16.6.zip (5.1 MB) Collecting Pillow<7.0.0 Using cached Pillow-6.2.2.tar.gz (37.8 MB) Collecting PyWavelets~=1.0.3 Using cached PyWavelets-1.0.3.tar.gz (4.6 MB) Collecting scipy Using cached scipy-1.7.1-cp39-cp39-win_amd64.whl (33.8 MB) Collecting tensorflow>1.0 Using cached tensorflow-2.6.0-cp39-cp39-win_amd64.whl (423.3 MB) Requirement already satisfied: tqdm in c:\users\me\appdata\roaming\python\python39\site-packages (from imagededup) (4.62.3) Collecting scikit-learn Using cached scikit_learn-1.0-cp39-cp39-win_amd64.whl (7.2 MB) Collecting matplotlib Using cached matplotlib-3.4.3-cp39-cp39-win_amd64.whl (7.1 MB) Collecting six~=1.15.0 Using cached six-1.15.0-py2.py3-none-any.whl (10 kB) Collecting protobuf>=3.9.2 Using cached protobuf-3.18.1-cp39-cp39-win_amd64.whl (912 kB) Collecting flatbuffers~=1.12.0 Downloading flatbuffers-1.12-py2.py3-none-any.whl (15 kB) Collecting opt-einsum~=3.3.0 Using cached opt_einsum-3.3.0-py3-none-any.whl (65 kB) Collecting keras-preprocessing~=1.1.2 Using cached Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB) Collecting google-pasta~=0.2 Using cached google_pasta-0.2.0-py3-none-any.whl (57 kB) Collecting termcolor~=1.1.0 Using cached termcolor-1.1.0.tar.gz (3.9 kB) Collecting astunparse~=1.6.3 Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB) Collecting grpcio<2.0,>=1.37.0 Using cached grpcio-1.41.0-cp39-cp39-win_amd64.whl (3.2 MB) Collecting tensorflow>1.0 Using cached tensorflow-2.5.1-cp39-cp39-win_amd64.whl (422.7 MB) Collecting tensorboard~=2.5 Using cached tensorboard-2.7.0-py3-none-any.whl (5.8 MB) Collecting grpcio~=1.34.0 Using cached grpcio-1.34.1-cp39-cp39-win_amd64.whl (2.9 MB) Collecting tensorflow>1.0 Using cached tensorflow-2.5.0-cp39-cp39-win_amd64.whl (422.6 MB) Collecting tensorflow-estimator<2.6.0,>=2.5.0rc0 Using cached tensorflow_estimator-2.5.0-py2.py3-none-any.whl (462 kB) INFO: pip is looking at multiple versions of pywavelets to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of pillow to determine which version is compatible with other requirements. This could take a while. Collecting Pillow<7.0.0 Using cached Pillow-6.2.1.tar.gz (37.7 MB) Using cached Pillow-6.2.0.tar.gz (37.4 MB) Using cached Pillow-6.1.0.tar.gz (33.8 MB) Using cached Pillow-6.0.0.tar.gz (29.5 MB) Using cached Pillow-5.4.1.tar.gz (16.0 MB) Using cached Pillow-5.4.0.tar.gz (15.9 MB) Using cached Pillow-5.3.0.tar.gz (15.6 MB) INFO: pip is looking at multiple versions of pywavelets to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of pillow to determine which version is compatible with other requirements. This could take a while. Using cached Pillow-5.2.0.tar.gz (14.5 MB) Using cached Pillow-5.1.0.tar.gz (14.3 MB) Using cached Pillow-5.0.0.tar.gz (14.2 MB) Using cached Pillow-4.3.0.tar.gz (13.9 MB) Collecting olefile Using cached olefile-0.46.zip (112 kB) Collecting Pillow<7.0.0 Using cached Pillow-4.2.1.tar.gz (12.7 MB) INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking Using cached Pillow-4.2.0.tar.gz (12.7 MB) Using cached Pillow-4.1.1.tar.gz (11.3 MB) Using cached Pillow-4.1.0.tar.gz (11.3 MB) Using cached Pillow-4.0.0.tar.gz (11.1 MB) Using cached Pillow-3.4.2.zip (11.0 MB) Using cached Pillow-3.4.1.zip (11.0 MB) Using cached Pillow-3.4.0.zip (11.0 MB) Using cached Pillow-3.3.3.zip (10.8 MB) Using cached Pillow-3.3.2.zip (10.8 MB) Using cached Pillow-3.3.1.zip (10.8 MB) Using cached Pillow-3.3.0.zip (10.8 MB) Downloading Pillow-3.2.0.zip (10.5 MB) |████████████████████████████████| 10.5 MB 74 kB/s Downloading Pillow-3.1.2.zip (10.4 MB) |████████████████████████████████| 10.4 MB 3.3 MB/s Downloading Pillow-3.1.1.zip (10.4 MB) |████████████████████████████████| 10.4 MB ... Downloading Pillow-3.1.0.zip (10.1 MB) |████████████████████████████████| 10.1 MB 6.4 MB/s Downloading Pillow-3.0.0.zip (9.9 MB) |████████████████████████████████| 9.9 MB ... Downloading Pillow-2.9.0.zip (9.6 MB) |████████████████████████████████| 9.6 MB 259 kB/s Downloading Pillow-2.8.2.zip (9.4 MB) |████████████████████████████████| 9.4 MB ... Downloading Pillow-2.8.1.zip (9.3 MB) |████████████████████████████████| 9.3 MB ... Downloading Pillow-2.8.0.zip (9.3 MB) |████████████████████████████████| 9.3 MB ... Downloading Pillow-2.7.0.zip (7.6 MB) |████████████████████████████████| 7.6 MB 6.4 MB/s Downloading Pillow-2.6.2.zip (7.5 MB) |████████████████████████████████| 7.5 MB 6.8 MB/s Downloading Pillow-2.6.1.zip (7.5 MB) |████████████████████████████████| 7.5 MB ... Downloading Pillow-2.6.0.zip (7.5 MB) |████████████████████████████████| 7.5 MB 6.4 MB/s Downloading Pillow-2.5.3.zip (6.9 MB) |████████████████████████████████| 6.9 MB 6.4 MB/s Downloading Pillow-2.5.2.tar.gz (6.7 MB) |████████████████████████████████| 6.7 MB 6.8 MB/s Downloading Pillow-2.5.1.zip (6.9 MB) |████████████████████████████████| 6.9 MB 6.8 MB/s Downloading Pillow-2.5.0.zip (6.9 MB) |████████████████████████████████| 6.9 MB 6.8 MB/s Downloading Pillow-2.4.0.zip (6.5 MB) |████████████████████████████████| 6.5 MB ... Downloading Pillow-2.3.2.tar.gz (2.3 MB) |████████████████████████████████| 2.3 MB 6.4 MB/s Downloading Pillow-2.3.1.zip (2.4 MB) |████████████████████████████████| 2.4 MB 6.8 MB/s Downloading Pillow-2.3.0.zip (2.4 MB) |████████████████████████████████| 2.4 MB ... Downloading Pillow-2.2.2.zip (2.2 MB) |████████████████████████████████| 2.2 MB 6.8 MB/s Downloading Pillow-2.2.1.zip (2.2 MB) |████████████████████████████████| 2.2 MB 6.4 MB/s Downloading Pillow-2.2.0.zip (2.2 MB) |████████████████████████████████| 2.2 MB 6.4 MB/s Downloading Pillow-2.1.0.zip (2.1 MB) |████████████████████████████████| 2.1 MB 6.8 MB/s Downloading Pillow-2.0.0.zip (1.4 MB) |████████████████████████████████| 1.4 MB 6.4 MB/s Downloading Pillow-1.7.8.zip (410 kB) |████████████████████████████████| 410 kB ... Downloading Pillow-1.7.7.zip (725 kB) |████████████████████████████████| 725 kB 6.4 MB/s ERROR: Command errored out with exit status 1: command: 'C:\Program Files\Python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\canmi\\AppData\\Local\\Temp\\pip-install-qo61p9i9\\pillow_b674889c9d0a43bf85d7507ed369c4ae\\setup.py'"'"'; __file__='"'"'C:\\Users\\canmi\\AppData\\Local\\Temp\\pip-install-qo61p9i9\\pillow_b674889c9d0a43bf85d7507ed369c4ae\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\me\AppData\Local\Temp\pip-pip-egg-info-qmnf8hfv' cwd: C:\Users\me\AppData\Local\Temp\pip-install-qo61p9i9\pillow_b674889c9d0a43bf85d7507ed369c4ae\ Complete output (6 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\me\AppData\Local\Temp\pip-install-qo61p9i9\pillow_b674889c9d0a43bf85d7507ed369c4ae\setup.py", line 162 print "--- using Tcl/Tk libraries at", TCL_ROOT ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("--- using Tcl/Tk libraries at", TCL_ROOT)?```
@Avnsx Hi, we just released a new version that supports python 3.8/9/10. Please feel free to test it out. Apologies for the lack of maintenance.
I installed 50 shades of Pillow until it eventually errored out because of no backwards compability with python 3.9.7 ...