安装TensorRT时出现:
cuda-libraries-dev-10-1: Depends: libcublas-dev (>= 10.1.0.105) but it is not installed
cuda-samples-10-1: Depends: libcublas-dev (>= 10.1.0.105) but it is not installed
cuda-visual-tools-10-1: Depends: libcublas-dev (>= 10.1.0.105) but it is not installed
后通过添加cuda的apt仓库解决:
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
sudo apt-get install tensorrt