I can't use tensorRT included in Jetpack5.1.1

I trying use trt_pose.

When I run “sudo python3 setup.py install --plugins”
The following error was displayed.

Traceback (most recent call last):
File “setup.py”, line 2, in
import tensorrt
ModuleNotFoundError: No module named ‘tensorrt’

But from this website Jetpack5.1.1 including tensorRT.

Why I cant use tensorRT?


Could you run the apt installation command below and try it again?

$ sudo apt install python3-libnvinfer*


I solved it that way thank you

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