Jetson orin nx

My: jetpack 5.1.4, jetson linux35.6, OpenCV with CUDA4.9.0, Anaconda Python 3.12, torch2.1.0,torchvision0.16.1, But whether in a virtual environment or outside the environment, when I use import tensorrt in Python; Print (tensorrt. __version. __) always gives an error message stating that there is no ‘__version. __’ attribute. I have re burned the jetson system and jetpack multiple times to solve this problem, hoping to resolve my issue. Thank you

Hi,
Here are some suggestions for the common issues:

1. Performance

Please run the below command before benchmarking deep learning use case:

$ sudo nvpmodel -m 0
$ sudo jetson_clocks

2. Installation

Installation guide of deep learning frameworks on Jetson:

3. Tutorial

Startup deep learning tutorial:

4. Report issue

If these suggestions don’t help and you want to report an issue to us, please attach the model, command/step, and the customized app (if any) with us to reproduce locally.

Thanks!

Hi,

Could you share the exact command you tried?
We test this on the JetPack 5.1.4 and the command is working:

$ python3
Python 3.8.10 (default, Nov  7 2024, 13:10:47) 
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorrt as trt
>>> trt.__version__
'8.5.2.2'

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.