查看显卡报错:NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
阅读原文时间:2023年07月12日阅读:1

当输入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 apt-get install dkms
sudo dkms install -m nvidia -v 460.73.01 # 460.73.01是驱动版本号

当不知道版本号为多少时,可输入以下命令查看:

ll /usr/src/