I'm trying to install a library required by nvidia TensorRt. The name of the library is python3-libnvinfer
I get the following errors when I'm trying to install the above mentioned package.
Code:
sudo apt-get install python3-libnvinfer-dev Code:
sudo apt-get install python3-libnvinfer But the issue still persists. I'm planning to scrape/purge python3.6.8 and I don't know if it's a wise move as I've read some display managers use python and I'm not sure if it'll break anything. How should I go about this, Thanks. I've also successfully TensorRt according to Code:
dpkg -s TensorRt | grep Success |
Hi,
what OS are you running and what apt sources do you have configured? If you have inxi installed, the output of the following command will provide that information: Code:
inxi -Sr |
Quote:
Code:
sudo dpkg -i nv-tensorrt-repo-ubuntu1604-cuda9.2-ga-trt4.0.1.6-20180612_1-1_amd64.deb |
Hi,
can you fix those URLs please, and post exactly what sources you have configured. Also, what instructions/documentation are did you follow to lead you to add the additional sources? Evo2. |
Quote:
CUDA installation guide CUDA DOWNLOAD I used the above link for my Ubuntu 18.04 machine. It says that it was for Ubuntu 17 but I got the CUDA up and running TensorRt installation guide TensorRt 4.2 download And they've listed it to be for 16.04 but again TensorRt was successfully installed. And I'm stuck at installation of python3-libnvinfer-dev which has a dependency on python3-libnvinfer which again has a dependency on python version <3.6 . I've made python 3.5 as my default python version using update alternatives. Also tried linking python3 to be /usr/bin/python3.5. |
Hi,
it looks like the problem is that you are trying to install packages for older versions of Ubuntu. Why don't you use packages for 18.04? What is the output of the following commands: Code:
apt-cache policy python3-libnvinfer-dev python3-libnvinfer Evo2. |
Quote:
Code:
python3-libnvinfer-dev: Quote:
Code:
Package: python3-libnvinfer-dev Quote:
|
Hi,
so it does look like you are trying to install packages for an older version of Ubuntu, presumably from a repo that you added following https://docs.nvidia.com/deeplearning...ide/index.html Can you not use repos for Ubuntu 18.04? Evo2. |
Quote:
|
Hi,
Quote:
Evo2. |
All times are GMT -5. The time now is 05:26 PM. |