Jetpack 6.2 :ImportError: libcudnn.so.8: cannot open shared object file: No such file or directory

I use jetpack 6.2 on my jetson agx orin, and pytorch download from https://developer.download.nvidia.com/compute/redist/jp/v60/pytorch/, but when i import torch, it comes :ImportError: libcudnn.so.8: cannot open shared object file: No such file or directory.

I found there has libcudnn.so.9 ,I also try download on https://developer.download.nvidia.com/compute/redist/jp/v60/pytorch/torch-2.4.0a0+3bcc3cddb5.nv24.07-cp310-cp310-linux_aarch64.whl. It still happen.

I also find the jp6/cu126 index, the torch in this url still useless,

Traceback (most recent call last):
File “”, line 1, in
File “/home/jetson/.local/lib/python3.10/site-packages/torch/init.py”, line 442, in
from torch._C import * # noqa: F403
ImportError: libcudss.so.0: cannot open shared object file: No such file or directory

Hi,

Please find the comment below to install PyTorch on JetPack 6.2:

Thanks.