Open jamesgrubb opened 2 years ago
Hi @jamesgrubb. It looks like maybe you're installing into a Python 3.10 venv? The project dependencies are pinned for Python 3.8.
That fixed it thank you
Sent from my iPhone
On 12 Jul 2022, at 14:51, Joe Rickerby @.***> wrote:
Hi @jamesgrubb. It looks like maybe you're installing into a Python 3.10 venv? The project dependencies are pinned for Python 3.8.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.
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 wheel ... done Preparing 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) ... error error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [237 lines of output] Running from numpy source directory. setup.py:461: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates run_build = parse_setuppy_commands() /private/var/folders/vg/48dgq5bd3zb_6fgltlckz6j00000gn/T/pip-install-wkdrb8r6/numpy_116b2c98dcc7459dbe01ba9080a80d42/tools/cythonize.py:75: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. required_version = LooseVersion('0.29.14') /private/var/folders/vg/48dgq5bd3zb_6fgltlckz6j00000gn/T/pip-install-wkdrb8r6/numpy_116b2c98dcc7459dbe01ba9080a80d42/tools/cythonize.py:77: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < required_version: Processing numpy/random/_bounded_integers.pxd.in Processing numpy/random/_philox.pyx Processing numpy/random/_bit_generator.pyx Processing numpy/random/_bounded_integers.pyx.in Processing numpy/random/_sfc64.pyx Processing numpy/random/_mt19937.pyx Processing numpy/random/mtrand.pyx Processing numpy/random/_generator.pyx Processing numpy/random/_pcg64.pyx Processing numpy/random/_common.pyx Cythonizing sources blas_opt_info: blas_mkl_info: customize UnixCCompiler libraries mkl_rt not found in ['/Users/jamesgrubb/Dropbox/Dev/mood-board-search/backend/env/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLE
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details. ➜ backend git:(main)