cudnn安装不成功
时间: 2023-08-14 22:14:55 浏览: 246
回答: 如果cudnn安装不成功,可能是因为安装的cudnn版本过高。你可以尝试卸载已安装的cudnn,然后重新下载一个版本较低的cudnn进行安装。卸载cudnn的代码是:sudo rm -rf /usr/local/cuda/include/cudnn.h sudo rm -rf /usr/local/cuda/lib64/libcudnn。\[1\]在安装完cuda之后,根据版本的提示,安装对应的cudnn即可。你可以从https://developer.nvidia.com/rdp/cudnn-archive下载cudnn的压缩包,解压后执行以下指令:sudo cp cuda/include/cudnn.h /usr/local/cuda/include/ sudo cp cuda/lib64/libcudnn* /usr/local/cuda/lib64/ sudo chmod a+r /usr/local/cuda/include/cudnn.h /usr/local/cuda/lib64/libcudnn*。\[3\]如果问题仍然存在,你可以尝试查看安装过程中的报错信息,并根据报错信息寻找解决方案。\[2\]
#### 引用[.reference_title]
- *1* *3* [安装cudnn出错](https://blog.csdn.net/weilaicxy22/article/details/118093131)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [Windows环境下CUDA+cuDNN安装教程,解决各种装不上问题(死活装不上的看过来)](https://blog.csdn.net/qq_44824148/article/details/120875736)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文