安装cuda8.0老报错kernel source路径问题,最后这种办法解决了

The driver installation is unable to locate the kernel source. Please make sure that the kernel source packages are installed and set up correctly.

rpm包下载url:https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=CentOS&target_version=7&target_type=rpmlocal

  1. `sudo rpm -i cuda-repo-rhel7-9-0-local-9.0.176-1.x86_64.rpm`
  2. `sudo yum clean all`
  3. `sudo yum install cuda`

你可能感兴趣的:(安装cuda8.0老报错kernel source路径问题,最后这种办法解决了)