ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
Press <enter> to keep the current choice[*], or type selection number: 2
复制代码
我感觉这里的意思是,我们还是切换成手动模式保险,保不齐编译时候突然变成gcc-11了。
接下来安装驱动步伐:sudo apt install --yes nvidia-driver-535 nvidia-dkms-535 nvidia-cuda-toolkit
到这里教程就说乐成了,就当我激动得输入nvidia-smi时候,又报错了:NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
好好好,那我就再实行sudo bash NVIDIA-Linux-x86_64-550.54.14.run安装一下,其实这里我感觉是gcc-12那选定版本之后直接安装run文件就好了。但我没有试,因为我已经安装乐成了!
最后附上乐成的效果,证明我教程的可行性: