0
点赞
收藏
分享

微信扫一扫

Imageio: 'ffmpeg-win32-v3.2.4.exe' was not found on your computer; downloading it now.


场景

在使用pip下载了Imageio之后,需要下载ffmpeag-win-32-v3.2.4.exe文件,一种是在代码的

开头部分加入:

imageio.plugins.ffmpeg.download()

这样在代码运行时就会下载此文件,但是由于网络等原因,迟迟下载不下来,最终会显示响应超时。

就会提示:

Unable to download  'fwmpeag-win32-v3.2.4.exe'.Perhaps there is a inernet connection?

Imageio:

 

因为上面加入代码后,会检测在C:\Users\Administrator\AppData\Local\imageio\ffmpeg

目录下有没有'fwmpeag-win32-v3.2.4.exe文件,不存在的话就会联网下载到该目录下。

实现

去到其Github上将缺失的对应的exe文件手动下载并放到对应目录下。

GitHub地址:

​​https://github.com/imageio/imageio-binaries/tree/master/ffmpeg​​

Imageio:

 

下载之后将其放在对应目录下

Imageio:

 

如果通过Github没法下载,可以在这里进行下载。


注:

举报

相关推荐

0 条评论