YOLO V7 installation error

Hi,

I’m encounting an error when i try to install YOLOV7 as follows:

Collecting matplotlib>=3.2.2 (from -r requirements.txt (line 4))
  Using cached https://files.pythonhosted.org/packages/22/d4/e7ca532e68a9357742604e1e4ae35d9c09a4a810de39a9d80402bd12f50f/matplotlib-3.3.4.tar.gz
Collecting numpy<1.24.0,>=1.18.5 (from -r requirements.txt (line 5))
Collecting opencv-python>=4.1.1 (from -r requirements.txt (line 6))
  Using cached https://files.pythonhosted.org/packages/40/93/655af887bafece2a655998f53b9bd21ad94b0627d81d44aef35c79f40de6/opencv-python-4.7.0.72.tar.gz
Collecting Pillow>=7.1.2 (from -r requirements.txt (line 7))
  Using cached https://files.pythonhosted.org/packages/7d/2a/2fc11b54e2742db06297f7fa7f420a0e3069fdcf0e4b57dfec33f0b08622/Pillow-8.4.0.tar.gz
Collecting PyYAML>=5.3.1 (from -r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/36/2b/61d51a2c4f25ef062ae3f74576b01638bebad5e045f747ff12643df63844/PyYAML-6.0.tar.gz
Collecting requests>=2.23.0 (from -r requirements.txt (line 9))
  Using cached https://files.pythonhosted.org/packages/2d/61/08076519c80041bc0ffa1a8af0cbd3bf3e2b62af10435d269a9d0f40564d/requests-2.27.1-py2.py3-none-any.whl
Collecting scipy>=1.4.1 (from -r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz
Collecting torch!=1.12.0,>=1.7.0 (from -r requirements.txt (line 11))


  Could not find a version that satisfies the requirement torch!=1.12.0,>=1.7.0 (from -r requirements.txt (line 11)) (from versions: )
No matching distribution found for torch!=1.12.0,>=1.7.0 (from -r requirements.txt (line 11))

i have already installed PyTorch and torchvision according to PyTorch for Jetson where i have jetpack 4.6.3 with installed.

Thanks In advance.

Hi @pulzappcheck890, I would either edit the requirements.txt of the YOLO package you are trying to install to remove torch from it, or use one of the solutions from this topic:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.