How do I install tensorrt in python

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.8.1
[*] DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
[*] Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
[*] other

SDK Manager Version
[*] 1.9.3.10904
other

Host Machine Version
[*] native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

I want to import tensorrt in Python code.
But, when I use the python3.8 console, there is
2024-05-21 10-35-54 的屏幕截图

In python3.8/site-packages, there is not tensorrt.

So my question is, how do I install tensorrt in python?

The version of /usr/src/tensorrt/bin/trtexec is 8.5.10.
I have tried to install trt8.5.2 from the https://developer.nvidia.com/nvidia-tensorrt-8x-download, but the error message has occurred


(I did not find the trt8.5.10 DEB local repo Package)

Please have the support via NVOnline, thanks.

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