When trying to run the following Python code:
import tensorrt as trt
from tensorrt.parsers import uffparser
I receive “ImportError: No module named ‘tensorrt.parsers’”.
Additional details: Python version is 3.5.2. I use TensorRT 5.0RC with CUDA 9.0.
Note that tensorrt is imported successfully and that the TensorRT installation was verified.