I have installed Jetpack 4.6.1 on xavier agx from sdk manager. Installation summary showed tensorrt was installed. Came with python 3.6.9. However when I import tensorrt, module is not found.
python3 -m pip install nvidia-pyindex
python3 -m pip install --upgrade nvidia-tensorrt
is throwing the error mentioned in the tensorrt installation guide.
##################################################################
The package you are trying to install is only a placeholder project on PyPI.org repository. This package is hosted on NVIDIA Python Package Index. This package can be installed as:
$ pip install nvidia-pyindex
$ pip install nvidia-tensorrt
##################################################################
I tried to install python binding as detailed in the below comment.
python 3.9 binding tensorrt
python3.9 -c "import tensorrt"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/cgblr/.local/lib/python3.9/site-packages/tensorrt/__init__.py", line 36, in <module>
from .tensorrt import *
ModuleNotFoundError: No module named 'tensorrt.tensorrt'
Other solutions to similar problem mentioned in the forum didn’t help me.
I would like to know what is the correct way of installing tensort package for python.
Thank you.
Environment
System : Jetson Xavier AGX
Jetpack Version : 4.6.1
TensorRT Version : arm64 8.2.1-1+cuda10.2
CUDA Version : 10.2
CUDNN Version :
Operating System + Version : Ubuntu 18.04
Python Version (if applicable) : 3.6.9