I am trying to import tensorrt in Python, but it failed with this message: ‘ModuleNotFoundError: No module named ‘tensorrt’’. I followed the instructions in this link: ‘Can't Import TensorRT in Python with Jetpack 6.0DP: "No Module Named 'tensorrt'"’. However, it’s still not working. I am using a Jetson AGX Orin Developer Kit with Jetpack 6.0, and it seems the installation is okay. I have these settings:
Python version: 3.10.14 (main, May 6 2024, 19:36:58) [GCC 11.2.0] CUDA version: 12.2
cuDNN version: 8904
PyTorch version: 2.3.0
torchvision version: 0.18.0a0+6043bc2
PyTorch CUDA device count: 1
PyTorch CUDA device name: Orin
PyTorch CUDA device capability: (8, 7)