pycharm运行错误提示:Could not locate zlibwapi.dll. Please make sure it is in your library path

进行tensort加速,cmake编译失败,缺少zlibwapi.dll文件,解决详细步骤:

1. 下载zlibwapi.dll,下载地址:www.winimage.com/zLibDII/

pycharm运行错误提示:Could not locate zlibwapi.dll. Please make sure it is in your library path_第1张图片

( zlibwapi.dll资源:链接:https://pan.baidu.com/s/1oLVRk6XL40iNIqRzKEkLyQ 
                                 提取码:1111 

   )

2. 解压下载好的文件

pycharm运行错误提示:Could not locate zlibwapi.dll. Please make sure it is in your library path_第2张图片

 3. 进入文件.\zlib123dllx64\dll_x64,将文件夹下的zlibwapi.dII复制到C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin目录下

pycharm运行错误提示:Could not locate zlibwapi.dll. Please make sure it is in your library path_第3张图片

pycharm运行错误提示:Could not locate zlibwapi.dll. Please make sure it is in your library path_第4张图片 

 将zlibwapi.lib复制到C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\lib目录下

pycharm运行错误提示:Could not locate zlibwapi.dll. Please make sure it is in your library path_第5张图片

 4.问题解决

 

你可能感兴趣的:(Pycharm,深度学习,pycharm,python,深度学习)