当输入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是驱动