I got the following components with titan xp.
- Ubuntu 18.04
- GStreamer 1.14.1
- NVIDIA driver 460.32
- CUDA 11.1
and I followed the Tensor7.2.2 installation guide on the next page.
but I got a problem with installing tensorrt 7.2.2.3.
commands : sudo apt install tensorrt
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
tensorrt : Depends: libnvinfer7 (= 7.2.2-1+cuda11.1) but it is not going to be installed
Depends: libnvinfer-plugin7 (= 7.2.2-1+cuda11.1) but it is not going to be installed
Depends: libnvparsers7 (= 7.2.2-1+cuda11.1) but it is not going to be installed
Depends: libnvonnxparsers7 (= 7.2.2-1+cuda11.1) but it is not going to be installed
Depends: libnvinfer-bin (= 7.2.2-1+cuda11.1) but it is not going to be installed
Depends: libnvinfer-dev (= 7.2.2-1+cuda11.1) but it is not going to be installed
Depends: libnvinfer-plugin-dev (= 7.2.2-1+cuda11.1) but it is not going to be installed
Depends: libnvparsers-dev (= 7.2.2-1+cuda11.1) but it is not going to be installed
Depends: libnvonnxparsers-dev (= 7.2.2-1+cuda11.1) but it is not going to be installed
Depends: libnvinfer-samples (= 7.2.2-1+cuda11.1) but it is not going to be installed
Depends: libnvinfer-doc (= 7.2.2-1+cuda11.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
And I tried to install libnvinfer7, but i got error again.
commands: sudo apt-get install -y --no-install-recommends libnvinfer7=7.2.2-1+cuda11.1 libnvinfer-dev=7.2.2-1+cuda11.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libnvinfer-dev : Depends: libcublas.so.11-dev but it is not installable or
libcublas-dev-11-1 but it is not installable
Depends: cuda-nvrtc-dev-11-1 but it is not installable
libnvinfer7 : Depends: libcublas.so.11 but it is not installable or
libcublas-11-1 but it is not installable
Depends: cuda-nvrtc-11-1 but it is not installable
E: Unable to correct problems, you have held broken packages.
I checked my CUDA-11.1 folder where cublas, nvrtc is installed and confirmed that libcublas.so.11 and nvrtc.h exist in the folder.
Also, My bashrc path is set properly.
export PATH=/usr/local/cuda-11.1/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-11.1/lib64:/home/son/TensorRT-7.2.2.3/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
why I can’t install tensorrt? why!!!