I am running ubuntu 14.04 and have installed tensorrt.
When I open up my python terminal and try to import tensorrt, I get the following error:
Traceback (most recent call last):
File “”, line 1, in
File “/usr/local/lib/python2.7/dist-packages/tensorrt/init.py”, line 77, in
from tensorrt import infer, parsers, utils, lite, plugins
File “/usr/local/lib/python2.7/dist-packages/tensorrt/infer/init.py”, line 54, in
from ._infer_enums import *
File “/usr/local/lib/python2.7/dist-packages/tensorrt/infer/_infer_enums.py”, line 54, in
from tensorrt.infer import _nv_infer_bindings as nvinfer
ImportError: libnvinfer.so.4: cannot open shared object file: No such file or directory
I see that libnvinfer.so.4 is present in the tar file which I downloaded from the website.
Note: I also tried to run tensorrt on Ubuntu 16.04 and I get the same libnvinfer error when I am installing it.