Error when "import torch" is executed after python3

moving this topic to the Jetson AGX Xavier forum

Hi @nagesh_accord, the PyTorch wheels for JetPack 5 were built against CUDA 11.4. The PyTorch binaries aren’t compatible across changes in the major version of CUDA or cuDNN. You would either need to recompile PyTorch for your environment or change back to CUDA 11.4. There are steps for building PyTorch in this topic: