Description
Following error is thrown -
ModuleNotFoundError Traceback (most recent call last)
in () ----> 1 import tensorrt as trt
ModuleNotFoundError: No module named ‘tensorrt’
Environment
TensorRT Version: trt6.0.1.5-ga-20190913
GPU Type:
Nvidia Driver Version:
CUDA Version: 10.1
CUDNN Version: 7.6
Operating System + Version:
Python Version (if applicable): 3.6
TensorFlow Version (if applicable):
PyTorch Version (if applicable): 1.6
Baremetal or Container (if container which image + tag):
Relevant Files
Please attach or include links to any models, data, files, or scripts necessary to reproduce your issue. (Github repo, Google Drive, Dropbox, etc.)
Steps To Reproduce
Followed steps given here - TensorRT Installation Guide :: NVIDIA Deep Learning SDK Documentation
Reached the final step correctly, i presume as i got the following message -
ii libnvinfer-bin 6.0.1-1+cuda10.1 amd64 TensorRT binaries
hi libnvinfer-dev 6.0.1-1+cuda10.1 amd64 TensorRT development libraries and headers
ii libnvinfer-doc 6.0.1-1+cuda10.1 all TensorRT documentation
hi libnvinfer-plugin-dev 6.0.1-1+cuda10.1 amd64 TensorRT plugin libraries
hi libnvinfer-plugin6 6.0.1-1+cuda10.1 amd64 TensorRT plugin libraries
ii libnvinfer-samples 6.0.1-1+cuda10.1 all TensorRT samples
hi libnvinfer6 6.0.1-1+cuda10.1 amd64 TensorRT runtime libraries
hi libnvonnxparsers-dev 6.0.1-1+cuda10.1 amd64 TensorRT ONNX libraries
hi libnvonnxparsers6 6.0.1-1+cuda10.1 amd64 TensorRT ONNX libraries
hi libnvparsers-dev 6.0.1-1+cuda10.1 amd64 TensorRT parsers libraries
hi libnvparsers6 6.0.1-1+cuda10.1 amd64 TensorRT parsers libraries
hi python-libnvinfer 6.0.1-1+cuda10.1 amd64 Python bindings for TensorRT
hi python3-libnvinfer 6.0.1-1+cuda10.1 amd64 Python 3 bindings for TensorRT
ii tensorrt 6.0.1.5-1+cuda10.1 amd64 Meta package of TensorRT
However, on trying to import tensorrt as trt, the following error is thrown -
ModuleNotFoundError Traceback (most recent call last)
in () ----> 1 import tensorrt as trt
ModuleNotFoundError: No module named ‘tensorrt’
Would appreciate your help. Thanks.