当输入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/
手机扫一扫
移动阅读更方便
你可能感兴趣的文章