google-research / mood-board-search

Apache License 2.0
147 stars 20 forks source link

Can't install python requirements #11

Open michelebruno opened 1 year ago

michelebruno commented 1 year ago

Hi!

This projects looks very interesting but I can't install python requirements on my computer!

I'm using a Macbook Pro M1 Pro, pyenv and a python 3.8 but I get this error.

Can anyone help me please?

Collecting scikit-image==0.16.2
  Using cached scikit-image-0.16.2.tar.gz (28.9 MB)
  Preparing metadata (setup.py) ... done
ERROR: Could not find a version that satisfies the requirement scikit-learn==0.22.2 (from versions: 0.9, 0.10, 0.11, 0.12, 0.12.1, 0.13, 0.13.1, 0.14, 0.14.1, 0.15.0, 0.15.1, 0.15.2, 0.16.0, 0.16.1, 0.17, 0.17.1, 0.18, 0.18.1, 0.18.2, 0.19.0, 0.19.1, 0.19.2, 0.20.0, 0.20.1, 0.20.2, 0.20.3, 0.20.4, 0.21.1, 0.21.2, 0.21.3, 0.22, 0.22.1, 0.22.2.post1, 0.23.0, 0.23.1, 0.23.2, 0.24.0, 0.24.1, 0.24.2, 1.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.2.0rc1, 1.2.0, 1.2.1)
ERROR: No matching distribution found for scikit-learn==0.22.2

Here's the full log

Requirement already satisfied: pip in ./env/lib/python3.8/site-packages (23.0)
Obtaining file:///../cavlib (from -r requirements.txt (line 7))
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... done
Collecting appnope==0.1.0
  Using cached appnope-0.1.0-py2.py3-none-any.whl (4.0 kB)
Collecting asgiref==3.4.1
  Using cached asgiref-3.4.1-py3-none-any.whl (25 kB)
Collecting backcall==0.1.0
  Using cached backcall-0.1.0.zip (11 kB)
  Preparing metadata (setup.py) ... done
Collecting cached-property==1.5.1
  Using cached cached_property-1.5.1-py2.py3-none-any.whl (6.0 kB)
Collecting click==7.0
  Using cached Click-7.0-py2.py3-none-any.whl (81 kB)
Collecting cycler==0.10.0
  Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting decorator==4.4.1
  Using cached decorator-4.4.1-py2.py3-none-any.whl (9.2 kB)
Collecting django==3.2.8
  Using cached Django-3.2.8-py3-none-any.whl (7.9 MB)
Collecting django-cors-headers==3.2.1
  Using cached django_cors_headers-3.2.1-py3-none-any.whl (14 kB)
Collecting django-rest-framework==0.1.0
  Using cached django-rest-framework-0.1.0.tar.gz (969 bytes)
  Preparing metadata (setup.py) ... done
Collecting djangorestframework==3.11.0
  Using cached djangorestframework-3.11.0-py3-none-any.whl (911 kB)
Collecting entrypoints==0.3
  Using cached entrypoints-0.3-py2.py3-none-any.whl (11 kB)
Collecting flake8==3.7.9
  Using cached flake8-3.7.9-py2.py3-none-any.whl (69 kB)
Collecting gunicorn[gthread]==20.0.4
  Using cached gunicorn-20.0.4-py2.py3-none-any.whl (77 kB)
Collecting imageio==2.8.0
  Using cached imageio-2.8.0-py3-none-any.whl (3.3 MB)
Collecting ipython==7.12.0
  Using cached ipython-7.12.0-py3-none-any.whl (777 kB)
Collecting ipython-genutils==0.2.0
  Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting jedi==0.16.0
  Using cached jedi-0.16.0-py2.py3-none-any.whl (1.1 MB)
Collecting joblib==0.14.1
  Using cached joblib-0.14.1-py2.py3-none-any.whl (294 kB)
Collecting kiwisolver==1.1.0
  Using cached kiwisolver-1.1.0.tar.gz (30 kB)
  Preparing metadata (setup.py) ... done
Collecting matplotlib==3.1.3
  Using cached matplotlib-3.1.3.tar.gz (40.9 MB)
  Preparing metadata (setup.py) ... done
Collecting mccabe==0.6.1
  Using cached mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
Collecting methodtools==0.1.2
  Using cached methodtools-0.1.2.tar.gz (2.7 kB)
  Preparing metadata (setup.py) ... done
Collecting msgpack==1.0.0
  Using cached msgpack-1.0.0.tar.gz (232 kB)
  Preparing metadata (setup.py) ... done
Collecting networkx==2.4
  Using cached networkx-2.4-py3-none-any.whl (1.6 MB)
Collecting numpy==1.18.1
  Using cached numpy-1.18.1.zip (5.4 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting parso==0.6.2
  Using cached parso-0.6.2-py2.py3-none-any.whl (97 kB)
Collecting pep517==0.12.0
  Using cached pep517-0.12.0-py2.py3-none-any.whl (19 kB)
Collecting pexpect==4.8.0
  Using cached pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
Collecting pickleshare==0.7.5
  Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting pillow==7.0.0
  Using cached Pillow-7.0.0.tar.gz (38.2 MB)
  Preparing metadata (setup.py) ... done
Collecting pip-tools==6.6.2
  Using cached pip_tools-6.6.2-py3-none-any.whl (47 kB)
Collecting platformdirs==2.4.0
  Using cached platformdirs-2.4.0-py3-none-any.whl (14 kB)
Collecting prompt-toolkit==3.0.3
  Using cached prompt_toolkit-3.0.3-py3-none-any.whl (348 kB)
Collecting ptyprocess==0.6.0
  Using cached ptyprocess-0.6.0-py2.py3-none-any.whl (39 kB)
Collecting pycodestyle==2.5.0
  Using cached pycodestyle-2.5.0-py2.py3-none-any.whl (51 kB)
Collecting pyflakes==2.1.1
  Using cached pyflakes-2.1.1-py2.py3-none-any.whl (59 kB)
Collecting pygments==2.5.2
  Using cached Pygments-2.5.2-py2.py3-none-any.whl (896 kB)
Collecting pyinstrument==3.1.3
  Using cached pyinstrument-3.1.3-py2.py3-none-any.whl (80 kB)
Collecting pyinstrument-cext==0.2.2
  Using cached pyinstrument_cext-0.2.2.tar.gz (4.9 kB)
  Preparing metadata (setup.py) ... done
Collecting pyparsing==2.4.6
  Using cached pyparsing-2.4.6-py2.py3-none-any.whl (67 kB)
Collecting python-dateutil==2.8.1
  Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting pytz==2019.3
  Using cached pytz-2019.3-py2.py3-none-any.whl (509 kB)
Collecting pywavelets==1.1.1
  Using cached PyWavelets-1.1.1.tar.gz (4.6 MB)
  Preparing metadata (setup.py) ... done
Collecting scikit-image==0.16.2
  Using cached scikit-image-0.16.2.tar.gz (28.9 MB)
  Preparing metadata (setup.py) ... done
ERROR: Could not find a version that satisfies the requirement scikit-learn==0.22.2 (from versions: 0.9, 0.10, 0.11, 0.12, 0.12.1, 0.13, 0.13.1, 0.14, 0.14.1, 0.15.0, 0.15.1, 0.15.2, 0.16.0, 0.16.1, 0.17, 0.17.1, 0.18, 0.18.1, 0.18.2, 0.19.0, 0.19.1, 0.19.2, 0.20.0, 0.20.1, 0.20.2, 0.20.3, 0.20.4, 0.21.1, 0.21.2, 0.21.3, 0.22, 0.22.1, 0.22.2.post1, 0.23.0, 0.23.1, 0.23.2, 0.24.0, 0.24.1, 0.24.2, 1.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.2.0rc1, 1.2.0, 1.2.1)
ERROR: No matching distribution found for scikit-learn==0.22.2
InnoVetrov commented 1 year ago

Kind of a dumb question, but have you tried installing "requirements.in" instead of "requirements.txt" ?