我试图在 ubuntu 18.4 (nv-tensorrt-repo-ubuntu1804-cuda10.2-trt7.0.0.11-ga-20191216_1-1_amd64.deb) debian 中安装 tensorRT 7.0。
遵循文档https://docs.nvidia.com/deeplearning/tensorrt/install-guide/index.html#installing-debian。
libnvinfer7 出现以下错误。在这个星球上寻找这个,找不到,失去了我的时间和睡眠。请帮我解决这个问题:
amarnath@amarnath-Precision-T3610:/opt/pixuate$ 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.0.0-1+cuda10.2) but it is not going to be installed
Depends: libnvinfer-plugin7 (= 7.0.0-1+cuda10.2) but it is not going to be installed
Depends: libnvparsers7 (= 7.0.0-1+cuda10.2) but it is not going to be installed
Depends: libnvonnxparsers7 (= 7.0.0-1+cuda10.2) but it is not going to be installed
Depends: libnvinfer-bin (= 7.0.0-1+cuda10.2) but it is not going to be installed
Depends: libnvinfer-dev (= 7.0.0-1+cuda10.2) but it is not going to be installed
Depends: libnvinfer-plugin-dev (= 7.0.0-1+cuda10.2) but it is not going to be installed
Depends: libnvparsers-dev (= 7.0.0-1+cuda10.2) but it is not going to be installed
Depends: libnvonnxparsers-dev (= 7.0.0-1+cuda10.2) but it is not going to be installed
Depends: libnvinfer-samples (= 7.0.0-1+cuda10.2) but it is not going to be installed
Depends: libnvinfer-doc (= 7.0.0-1+cuda10.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
好吧,试过“sudo apt-get install python3-libnvinfer-dev”
amarnath@amarnath-Precision-T3610:/opt/pixuate$ sudo apt-get install python3-libnvinfer-dev
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:
python3-libnvinfer-dev : Depends: python3-libnvinfer (= 7.0.0-1+cuda10.2) but it is not going to be installed
Depends: libnvinfer-dev (= 7.0.0-1+cuda10.2) but it is not going to be installed
Depends: libnvinfer-plugin-dev (= 7.0.0-1+cuda10.2) but it is not going to be installed
Depends: libnvparsers-dev (= 7.0.0-1+cuda10.2) but it is not going to be installed
Depends: libnvonnxparsers-dev (= 7.0.0-1+cuda10.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.