欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

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

程序员文章站 2022-12-21 14:27:11
场景 在使用pip下载了Imageio之后,需要下载ffmpeag-win-32-v3.2.4.exe文件,一种是在代码的 开头部分加入: 这样在代码运行时就会下载此文件,但是由于网络等原因,迟迟下载不下来,最终会显示响应超时。 就会提示: Unable to download 'fwmpeag-w ......

场景

在使用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: 'ffmpeg-win32-v3.2.4.exe' was not found on your computer; downloading it now.

 

 

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

因为上面加入代码后,会检测在c:\users\administrator\appdata\local\imageio\ffmpeg

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

 

实现

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

github地址:

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

 

 

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

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

 

 

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

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