VMware12 CentOS7:The path "" is not a valid path to the 3.10.0-514.el7.x86_64 kernel headers

安装VMware tools的时候遇到这个错误,试了很多方法还是无效

The path "" is not a valid path to the 3.10.0-514.el7.x86_64 kernel headers

waste很久的时间,sigh。。。


最后这句话终于有效了:

yum install "kernel-devel-uname-r == $(uname -r)"

来源: https://www.d9go.com/blog/myweishanli/article/557

感谢!


你可能感兴趣的:(机器学习)