I recently upgraded my Jetson Orin Nano to Jetpack 6.2. I later installed pytorch using the instructions here:
I used the v2.2.0 wheel to install pytorch.
When I try to import torch in my python program, this is the error I get:
import torch
File “/home/orin/.local/lib/python3.10/site-packages/torch/init.py”, line 236, in
from torch._C import * # noqa: F403
ImportError: libcudnn.so.8: cannot open shared object file: No such file or directory
This the output of jtop that shows I have cuda and cuDNN both installed.
Here is the output of nvcc --version:
nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Wed_Aug_14_10:14:07_PDT_2024
Cuda compilation tools, release 12.6, V12.6.68
Build cuda_12.6.r12.6/compiler.34714021_0
Can I please get help to resolve this issue? Thank you!