Problems with TensorRT Installation

I get the following error when I try to import
from .tensorrt import *
ImportError: libnvmedia.so: cannot open shared object file: No such file or directory

Hi,

How do you set up the environment?
Do you run TensorRT within a container?

Thanks.

No. Not inside. I was having trouble installing it using pip. But it finally installed and started giving that error.

Hi,

There are some dependencies between TensorRT and hardware-dependent libraries.

Do you set up the environment with JetPack? Which OS branch do you use?
We can find the library on r35.3.1:

/usr/lib/aarch64-linux-gnu/tegra/libnvmedia.so

Thanks.

I am using JetPack with L4T. The problem is solved. Here is a link to my other thread where I also mentioned the solution:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.