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
- `sudo rpm -i cuda-repo-rhel7-9-0-local-9.0.176-1.x86_64.rpm`
- `sudo yum clean all`
- `sudo yum install cuda`