当前位置:   article > 正文

2021-07-16 安装显卡驱动和cuda报错_warning: nvidia-installer was forced to guess the

warning: nvidia-installer was forced to guess the x library path '/usr/lib
sudo ./NVIDIA-Linux-x86_64-418.197.02.run -no-x-check -no-nouveau-check -no-opengl-files
  • 1
WARNING: nvidia-installer was forced to guess the X library path '/usr/lib64' and X module path '/usr/lib64/xorg/modules'; 

these paths were not queryable from the system.  If X fails to find the NVIDIA X driver module, please install the `pkg-config` utility 

and the X.Org SDK/development package for your distribution and reinstall the driver.
  • 1
  • 2
  • 3
  • 4
  • 5

字符模式安装警告信息,可忽略

sudo sh cuda_10.1.243_418.87.00_linux.run
  • 1
/var/log/nvidia/.uninstallManifests/CUDA_Toolkit_10.1-components/CUDA_Libraries_10.1-components/CUDA_Development_10.1-components/ can't be opened
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
  what():  boost::filesystem::copy_file: No such file or directory: "./builds/cuda-toolkit/nvml/example/Makefile", "/usr/local/cuda-10.1/nvml/example/Makefile"
  • 1
  • 2
  • 3

根目录空间不足,腾出12g空间(8g给cuda,4g给cudnn)重装即可

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/笔触狂放9/article/detail/65118
推荐阅读
相关标签
  

闽ICP备14008679号