OSError: Unable to download ‘freeimage-3.15.1-win64.dll‘. Perhaps there is a no internet connection?

时间:2024-03-25 18:53:30

@[](OSError: Unable to download ‘freeimage-3.15.1-win64.dll’. Perhaps there is a no internet connection? If there is, please report this problem.)

问题描述

在运行可微渲染器redner中的一个测试用例test_two_triangles.py,出现如下错误:OSError: Unable to download ‘freeimage-3.15.1-win64.dll‘. Perhaps there is a no internet connection?
出错记录中显示本机找不到freeimage-3.15.1-win64.dll,试图下载却又无法下载。

解决办法

到Github上将缺失的对应的.dll文件手动下载并放到对应目录下。
Github下载网址:https://github.com/imageio/imageio-binaries/tree/master/freeimageOSError: Unable to download ‘freeimage-3.15.1-win64.dll‘. Perhaps there is a no internet connection?
下载完成后,移到C:\Users\用户名\AppData\Local\imageio\freeimage文件夹下。