PaddleTS 表征时遇到的 Could not locate zlibwapi.dll 问题解决

10 阅读1分钟

在使用飞浆 PaddleTS 的时候,按照官方教程编写示例时,会有 Jupyter Lab 重启的情况,并且在 Jupyter 的后台显示下面这个信息。

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

通过资料查找在 nvidia 网站中找到了 zlibwapi.dll 的下载地址。

For 64-bit → zlib123dllx64.zip (142.1 KB) - Please use dll_x64\zlibwapi.dll in the zip file

For 32-bit → zlib123dll.zip (182.2 KB) - Please use dll32\zlibwapi.dll in the zip file

下载好包后解压,并将各个文件添加到指定路径,如下:

zlibwapi.lib文件放到C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.5\lib

zlibwapi.dll文件放到C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.5\bin


参考资料: