PreconditionNotMetError: The third-party dynamic library (cudnn64_8.dll) that Paddle depends on is not configured correctly. (error code is 126)

下载paddle的时候,运行

import paddle

print(paddle.__version__)
paddle.utils.run_check()

如题所示的错误

如果cuda、cudnn、paddlepaddle-gpu的匹配版本都没有错的话可能是因为电脑没有显卡驱动

在这里填上你的电脑信息会自动找到适合你电脑的显卡驱动官方驱动 | NVIDIA

例如我的是NVIDIA GeForce MX450,将显卡信息填上去,点击搜索、下载,之后安装即可。

 如何知道自己显卡的信息,右键此电脑,点击设备管理器,点击显示适配器,如下图所示

 

 

posted @ 2024-06-13 18:44  辞楠  阅读(619)  评论(0)    收藏  举报