【发布时间】:2019-07-29 17:50:40
【问题描述】:
我正在关注these instructions 安装TensorFlow。
当我尝试运行命令 sudo apt-get install --no-install-recommends nvidia-driver-418 时,出现错误
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:
nvidia-driver-418 : Depends: nvidia-driver-430 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我不是 Linux 专家,因此驱动程序 418 依赖于驱动程序 430 的说法让我很困惑。
【问题讨论】:
-
10.0 工具包有更新版本;尝试 cuda-repo-ubuntu1804_10.1.168-1_amd64.deb 而不是 cuda-repo-ubuntu1804_10.0.130-1_amd64.deb
-
这很尴尬:只需要
sudo apt upgrade。显然,较早的步骤导致需要升级的东西。可能相关的@Michael 评论。
标签: tensorflow linux-device-driver nvidia