本文最后更新于:2024年5月7日 下午
本文记录 [ERROR]: boost::filesystem::remove: Directory not empty 解决方案。
错误
安装cuda 10.2 时报错(错误在日志中 /var/log/cuda-installer.log)
- [ERROR]: boost::filesystem::remove: Directory not empty: “/var/log/nvidia/.uninstallManifests/”
Cuda 包 :
- cuda_10.2.89_440.33.01_linux.run
解决方案
- 安装时加上参数
--librarypath=/usr/local/cuda-10.2
1 |
|
测试CUDA是否安装成功
- 修改 ~/.bashrc 文件
1 |
|
- 更新环境变量配置
1 |
|
- 使用
nvcc -V
测试是否能检测到Cuda
1 |
|
参考资料
文章链接:
https://www.zywvvd.com/notes/environment/cuda/cuda10.2-install-error/cuda10.2-install-error/
“觉得不错的话,给点打赏吧 ୧(๑•̀⌄•́๑)૭”
微信支付
支付宝支付
安装 Cuda 10.2 报错
https://www.zywvvd.com/notes/environment/cuda/cuda10.2-install-error/cuda10.2-install-error/