Open Eugenumber1 opened 1 year ago
Hello there. Pyinstrument isn't actually required to make the project work. You can remove it from requirements.txt
and requirements.in
and the project should install.
@joerick thank you that helped me! the cavstudio works now. However, I can not install the cavlib (when I want to import it into separate project)
Any tips on this?
zhenyabudnyk$ pip install 'git+https://github.com/nordprojects/mood-board-search.git#egg=cavlib&subdirectory=cavlib' Collecting cavlib Cloning https://github.com/nordprojects/mood-board-search.git to /private/var/folders/x9/n8g0lhd50nj2rctpqv0wnvm00000gn/T/pip-install-ysexf6a_/cavlib_53bbb4e02e7f4147a073ba559f59c72d Running command git clone --filter=blob:none -q https://github.com/nordprojects/mood-board-search.git /private/var/folders/x9/n8g0lhd50nj2rctpqv0wnvm00000gn/T/pip-install-ysexf6a_/cavlib_53bbb4e02e7f4147a073ba559f59c72d remote: Repository not found. fatal: repository 'https://github.com/nordprojects/mood-board-search.git/' not found WARNING: Discarding git+https://github.com/nordprojects/mood-board-search.git#egg=cavlib&subdirectory=cavlib. Command errored out with exit status 128: git clone --filter=blob:none -q https://github.com/nordprojects/mood-board-search.git /private/var/folders/x9/n8g0lhd50nj2rctpqv0wnvm00000gn/T/pip-install-ysexf6a_/cavlib_53bbb4e02e7f4147a073ba559f59c72d Check the logs for full command output. ERROR: Could not find a version that satisfies the requirement cavlib (unavailable) (from versions: none) ERROR: No matching distribution found for cavlib (unavailable) WARNING: You are using pip version 21.3.1; however, version 22.3.1 is available. You should consider upgrading via the '/Users/zhenyabudnyk/PycharmProjects/Designify/venv/bin/python -m pip install --upgrade pip' command.
Adding --extra-index-url didn't help either.
The installation of requirements is getting stuck with this error all the time. I use python 3.8.2. Would appreciate any help with that!
`Successfully built cavlib Installing collected packages: pyinstrument-cext, ptyprocess, pickleshare, msgpack, mccabe, joblib, ipython-genutils, cached-property, backcall, appnope, wheel, typing-extensions, tqdm, tomli, sqlparse, six, pyparsing, pyinstrument, pygments, pyflakes, pycodestyle, prompt-toolkit, platformdirs, pillow, pexpect, parso, numpy, kiwisolver, gunicorn, entrypoints, decorator, click, asgiref, wirerope, traitlets, tflite-runtime, scipy, pywavelets, python-dateutil, pep517, networkx, jedi, imageio, flake8, django, cycler, scikit-learn, pip-tools, methodtools, matplotlib, ipython, djangorestframework, django-cors-headers, scikit-image, django-rest-framework, cavlib DEPRECATION: pyinstrument-cext is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for pyinstrument-cext ... error error: subprocess-exited-with-error
× Running setup.py install for pyinstrument-cext did not run successfully. │ exit code: 1 ╰─> [9 lines of output] running install running build running build_ext building 'pyinstrument_cext' extension creating build creating build/temp.macosx-10.9-x86_64-3.8 gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Users/zhenyabudnyk/Documents/myProjects/mood-board-search/backend/env/include -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c pyinstrument_cext.c -o build/temp.macosx-10.9-x86_64-3.8/pyinstrument_cext.o xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun error: command 'gcc' failed with exit status 1 [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure
× Encountered error while trying to install package. ╰─> pyinstrument-cext
note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.`