cuda10.0安装问题- - Unable to locate the kernel source

谷星文
2023-12-01

问题详细描述:

Installing the NVIDIA display driver...
The driver installation is unable to locate the kernel source. Please make sure that the kernel source packages are installed and set up correctly.
If you know that the kernel source packages are installed and set up correctly, you may pass the location of the kernel source with the '--kernel-source-path' flag.

解决办法

1. install dkms:

sudo yum install epel-release
yum install --enablerepo=epel dkms

2. 重新安装

./cuda_10.0.130_410.48_linux.run --kernel-source-path=/usr/src/kernels/3.10.0-327.el7.x86_64
 类似资料: