在EC2上安装Tensorrt 5.1.5时出现未满足的依赖项错误

时间:2019-11-08 06:59:37

标签: python tensorflow cudnn tensorrt

我正在尝试从EC2实例上的nv-tensorrt-repo-ubuntu1604-cuda10.0-trt5.1.5.0-ga-20190427_1-1_amd64.deb文件安装Tensorrt GA 5.1.5。我有以下配置 -Ubuntu 16.04 -Tensorflow 1.14 -Python 3.6 -CUDA 10 -CuDNN 7.5.1

我在执行以下命令时也遇到此错误

~/software1$ sudo apt-get 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: libnvinfer5 (= 5.1.5-1+cuda10.0) but it is not going to be installed
Depends: libnvinfer-dev (= 5.1.5-1+cuda10.0) but it is not going to be installed
Depends: libnvinfer-samples (>= 5.1.0-1+cuda10.0) but it is not going to be installed
Depends: libnvinfer-samples (<= 5.2.0-1+cuda10.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages

当我尝试使用tar文件(TensorRT-5.1.5.0.Ubuntu-16.04.5.x86_64-gnu.cuda-10.0.cudnn7.5.tar.gz)进行安装时,

我得到了错误文件tensorrt-5.1.5.0-cp36-none-linux_x86_64.whl在此平台上不受支持。

如何解决此错误?我正在关注TensorRT 5.1.5

的官方文档

0 个答案:

没有答案