Missing Dependency for python3-libnvinfer, TensorRT 5

Hey all,

I installed both cuda 10.0 and TensorRT 5 from their .deb files, no problems all packages are there and work, however when I went to install the python3 dependencies for my Ubuntu 14.04 machine I got a very weird dependency error:

The following packages have unmet dependencies
 python3-libnvinfer : Depends: python3 (>=3.6) but 3.4.0-0ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.

I’ve tried update and relinking python3 to be python3.6 instead of 3.4 as well as uninstalling all other python version besides 3.6 and no change. Any help is appreciated.

Thanks,
Sam

Hi Sam,

It looks like you have some weird system Python version installed.

Perhaps this link could help you solve your issue:

https://www.linuxquestions.org/questions/linux-software-2/python3-installation-fails-4175515805/

[b]"The solution was to uninstall libpython3.4 and libpython3.4-minimal and then try again.

Apparently the versions I had installed were non-standard versions acquired through the PPA independent software version system."[/b]

Also, in case it saves you any trouble, you should be able to work inside of our NGC TensorRT container with everything setup for you: https://ngc.nvidia.com/catalog/containers/nvidia:tensorrt