Could not locate zlibwapi.dll. Please make sure it is in your library path

跑PaddleDetection时候报错,Could not locate zlibwapi.dll. Please make sure it is in your library path 。

1.下载zlibwapi.dll

NVIDIA官方是有给出链接,但是我点不开 https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html#install-zlib-windows

找到了另一个链接http://www.winimage.com/zLibDll/
下载x64的版本(我是64位的)

2. 解压缩

这个都会吧?
然后把 zlib123dllx64\dll_x64\zlibwapi.dll 移到 cuda的目录下,我的目录是 C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\bin

备注:我没有移动lib文件,有的博客说也要移

你可能感兴趣的:(环境报错,windows)