一、Bug:
RuntimeError: The freeimage library could not be loaded: Need FreeImage library.
You can obtain it with either:
- download using the command:
imageio_download_bin freeimage
- download by calling (in Python): imageio.plugins.freeimage.download()
二、解决:
参考:https://blog.csdn.net/bby1987/article/details/105826595
- 下载依赖
python
>>> imageio.plugins.freeimage.download()
>>>
如果不成功,报错:
-
手动下载依赖
可以发现要下载libfreeimage-3.16.0-linux64.so
,
去 https://github.com/imageio/imageio-binaries/blob/master/freeimage/ 下载 -
放在指定的位置
python
>>> imageio.plugins.freeimage.download()
>>>
将下载下来的so文件放到/home/xxx/.imageio/freeimage/
下