I am trying to install compatible version of torch and torchvision with facenet pytorch-2.6.0 in jetson agx orin jetpack 6.0 using wheel files but it is showing incompatible version. I have installed the following versions, but it is still showing incompatible.
JetPack 6.0 (L4T R36.2 / R36.3) + CUDA 12.2
pip list
Then from facenet-pytorch/setup.py check that your versions of these packages are within the requirements and if not, for example
install_requires=[
‘numpy>=1.24.0,<2.0.0’,
‘Pillow>=10.2.0,<10.3.0’,
‘requests>=2.0.0,<3.0.0’,
‘torch>=2.2.0,<=2.3.0’,
‘torchvision>=0.17.0,<=0.18.0’,
‘tqdm>=4.0.0,<5.0.0’,
],
pip install numpy==1.26.4
pip install pillow==10.2.0
pip install requests==2.32.3
pip install tqdm==4.67.1
If all these are good since they are the requirements for facenet_pytorch, you could ignore the pip incompatibles for now and try one of the examples .
If it works then if you have other python applications then you could use venv or conda to have separate virtual environments in which to work.
Hi,
We provide compatible JP6.0 to torch/torchaudio/torchvision.
Please refer to below topics:
Below are pre-built PyTorch pip wheel installers for Jetson Nano, TX1/TX2, Xavier, and Orin with JetPack 4.2 and newer.
Download one of the PyTorch binaries from below for your version of JetPack, and see the installation instructions to run on your Jetson. These pip wheels are built for ARM aarch64 architecture, so run these commands on your Jetson (not on a host PC). You can also use the containers from jetson-containers .
PyTorch pip wheels
JetPack 6
▶
PyTorch v2.3.0
▶
PyTorch v2.2.0
▶
PyT…
Thanks
system
Closed
June 4, 2025, 2:14am
8
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.