How can I use python API tensorrt4 in TX2

I wonder how to use the python API tensorrt4 in TX2.
I install the system from the JetPack3.3 to TX2.
Also $sudo make in /usr/src/tensorrt/samples and open the sample in ~bin
That means I have installed the trt4
But when I import tensorrt as trt in python3.5 and will appear:
ImportError: No module named tensorrt

So how can i import tensorrt as trt in py3.5 successfully?
Many thanks!

Hi,

TensorRT python API doesn’t support Jetson platform yet.
You can find this information in our document:
https://docs.nvidia.com/deeplearning/sdk/tensorrt-support-matrix/index.html#platform-matrix

Thanks.

Will the next TensorRT6 support the python API?
I expect python API to happen in the trt6

Hi,

Python API for Jetson is supported from TensorRT 5.0.6.
You can get the package in our next JetPack release.

Thanks.