You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running Python 3.12.5, trying to install requirements for YOLOv7 getting the below error (it goes on for longer). Are there any compatibility issues between these 2? should I try an earlier version of python?
I encountered a similar issue while installing the requirements for YOLOv7 with Python 3.12.5. Here’s a potential solution that worked for me:
Switch to a Compatible Python Version: YOLOv7 and some of its dependencies may not be fully compatible with Python 3.12.5. I recommend using Python 3.10 or 3.11 as this repository was authored a couple of years ago. You can create a virtual environment with one of these versions:
# Install Python 3.10 or 3.11
py -m venv venv
venv\Scripts\activate # On Windowssource venv/bin/activate # On macOS/Linux# Then install the requirements
py -m pip install -r requirements.txt
Upgrade Pip and Setuptools: Ensure you are using the latest versions of pip and setuptools to avoid any compatibility issues with building packages:
By following these steps, you should be able to resolve the installation issue. If anyone has further suggestions or different experiences, please share!
Running Python 3.12.5, trying to install requirements for YOLOv7 getting the below error (it goes on for longer). Are there any compatibility issues between these 2? should I try an earlier version of python?
py -m pip install -r requirements.txt
Collecting matplotlib>=3.2.2 (from -r requirements.txt (line 4))
Using cached matplotlib-3.9.2-cp312-cp312-win_amd64.whl.metadata (11 kB)
Collecting numpy<1.24.0,>=1.18.5 (from -r requirements.txt (line 5))
Using cached numpy-1.23.5.tar.gz (10.7 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
The text was updated successfully, but these errors were encountered: