Hi @yeh0102, we provide pre-built PyTorch wheels for the default version of Python that comes with Ubuntu, and on JetPack 5 / Ubuntu 20.04 that is Python 3.8 (on JetPack 4 / Ubuntu 18.04 that’s Python 3.6). So for Python 3.9 you would need to build it from source. There are build instructions in this thread that you can loosely follow: PyTorch for Jetson (you may still need to apply this patch)
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Installing PyTorch 2.x on Python 3.9 in Xavier | 2 | 1129 | October 26, 2023 | |
| What's with the old/broken version of PyTorch for Orin? | 2 | 770 | June 7, 2023 | |
| Installing older version of Pytorch | 4 | 2202 | October 18, 2021 | |
| Pytorch for JetPack6.0 | 4 | 855 | May 11, 2024 | |
| Jetson AGX Xavier Pytorch Wheel files for latest Python 3.8/3.9 versions with CUDA 10.2 support | 5 | 4702 | January 7, 2022 | |
| How to install the right version of pytorch to AGX ORIN with the jetpack=5.1.3 | 4 | 123 | May 25, 2025 | |
| Pytorch for JP 6.2 running cuda 12.6 | 4 | 854 | May 29, 2025 | |
| Remote branch 2.1.0 not found in upstream error while installing Pytorch 2.1.0 for Python version 3.9 from Build Source | 13 | 672 | May 15, 2024 | |
| Install torch on latest Jetpack 6.2 | 4 | 243 | April 25, 2025 | |
| Custom wheel for PyTorch with more recent python version | 2 | 201 | October 28, 2024 |