JetPack 4.5.1 (L4T R32.5.1) Pytorch install and YOLOv5

I have Jetson Savior with JetPack 4.5.1 (L4T R32.5.1), to install Pytorch I had to use python 3.6, however I want to use YOLOv5 which is only compatible with python >= 3.7, how do I do?

Whenever I try to install the YOLOv5 requirements I get this error:

nvidia@nvidia:~/Desktop/yolov5$ pip3 install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: gitpython>=3.1.18 in /home/nvidia/.local/lib/python3.6/site-packages (from -r requirements.txt (line 5)) (3.1.18)
Collecting matplotlib>=3.3
Using cached matplotlib-3.3.4.tar.gz (37.9 MB)
Preparing metadata (setup.py) … done
Requirement already satisfied: numpy>=1.18.5 in /usr/local/lib/python3.6/dist-packages (from -r requirements.txt (line 7)) (1.19.4)
Collecting opencv-python>=4.1.1
Using cached opencv-python-4.7.0.72.tar.gz (91.1 MB)
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing metadata (pyproject.toml) … done
Requirement already satisfied: Pillow>=7.1.2 in /home/nvidia/.local/lib/python3.6/site-packages (from -r requirements.txt (line 9)) (8.4.0)
Collecting psutil
Using cached psutil-5.9.5.tar.gz (493 kB)
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing metadata (pyproject.toml) … done
Requirement already satisfied: PyYAML>=5.3.1 in /home/nvidia/.local/lib/python3.6/site-packages (from -r requirements.txt (line 11)) (6.0)
Requirement already satisfied: requests>=2.23.0 in /home/nvidia/.local/lib/python3.6/site-packages (from -r requirements.txt (line 12)) (2.27.1)
Collecting scipy>=1.4.1
Using cached scipy-1.5.4-cp36-cp36m-manylinux2014_aarch64.whl (24.5 MB)
Collecting thop>=0.1.1
Using cached thop-0.1.1.post2209072238-py3-none-any.whl (15 kB)
Collecting tqdm>=4.64.0
Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
ERROR: Could not find a version that satisfies the requirement ultralytics>=8.0.100 (from versions: none)
ERROR: No matching distribution found for ultralytics>=8.0.100

Hi,

Please check with the Ultralytics team to see if they can support Python 3.6.
Maybe an older version can work.
Thanks.

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