我在TX2板子安裝TensorRT4.0.2時候,使用deb方式安裝,爆出如下error
安裝這個包:tensorrt_4.0.2.0-1+cuda9.0_arm64.deb出現error
nivedithak@nivii-Sum18:~/Downloads$ sudo apt-get install tensorrt
[sudo] password for nivedithak:
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: libnvinfer4 (>= 4.1.2) but it is not going to be installed
Depends: libnvinfer-dev (>= 4.1.2) but it is not going to be installed
Depends: libnvinfer-samples (>= 4.1.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
找到Jetpack3.0安裝文件時,會下載很多安裝包,找到libnvinfer4_4.1.3-1+cuda9.0_arm64.deb和libnvinfer-dev_4.1.3-1+cuda9.0_arm64.deb和libnvinfer-samples_4.1.3-1+cuda9.0_arm64.deb安裝包,將這些文件先安裝,然後再安裝TensorRT安裝包即可解決問題。