升级cuda9.0 到cuda10 报错 Unable to find the module utility `modprobe`

在容器里 升级cuda9.0 到cuda10 ,尝试新的训练环境,先卸载9后,安装10的相关驱动 报如下错

[INFO]: ERROR: Unable to find the module utility `modprobe`; please make sure you have the package 'module-init-tools' or 'kmod' installed.  If you do have 'module-init-tools' or 'kmod' installed, then please check that `modprobe` is in your PATH.

apt-get install kmod

再次安装报

[INFO]: ERROR: An NVIDIA kernel module 'nvidia-uvm' appears to already be loaded in your kernel

解决

    在安装界面 不选择 安装 driver 后 tab到 install 回车

你可能感兴趣的:(linux)