I used Nvidia’s documentation in order to install torch, following this link:
When I tried to verify the installation, using the commands in this link:
$ export LD_LIBRARY_PATH=/usr/lib/llvm-8/lib:$LD_LIBRARY_PATH
$ python3
import torch
I got the following error message: ModuleNotFoundError: No module named ‘torch’.
my Jetpack version is 5.0.2, and I tried to use both framework 22.11 and 22.10 using this link: https://developer.download.nvidia.com/compute/redist/jp/v502/pytorch/
Hi,
Our prebuilt is generated with python 3.8.
But based on the screenshot, you are using python 3.10.
Please use python 3.8 instead.
Or you can build PyTorch on your own for python 3.10.
The detailed building steps can be found in the below topic:
Below are pre-built PyTorch pip wheel installers for Python on Jetson Nano, Jetson TX1/TX2, Jetson Xavier NX/AGX, and Jetson AGX 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).
PyTorch pip wheels
PyTorch v1.12.0 JetPack 5.0 (L4T R34.1.0) / JetPack 5.0.1 (L4T …
Thanks.
system
Closed
December 21, 2022, 5:21am
5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.