Skip to content
Advertisement

raise NeedDownloadError(‘Need ffmpeg exe. ‘ NeedDownloadError: Need ffmpeg exe)

I’m trying to execute a call to an unofficial Instagram API python library, after several errors for dependencies needed I fixed, I’m stuck at this one.

 File "C:UsersPabloDesktoptxts_pys_phps_programacionInstagram-API-python-masterInstagramAPI.py", line 15, in <module>
    from moviepy.editor import VideoFileClip
  File "C:Python27libsite-packagesmoviepyeditor.py", line 22, in <module>
    from .video.io.VideoFileClip import VideoFileClip
  File "C:Python27libsite-packagesmoviepyvideoioVideoFileClip.py", line 3, in <module>
    from moviepy.video.VideoClip import VideoClip
  File "C:Python27libsite-packagesmoviepyvideoVideoClip.py", line 20, in <module>
    from .io.ffmpeg_writer import ffmpeg_write_image, ffmpeg_write_video
  File "C:Python27libsite-packagesmoviepyvideoioffmpeg_writer.py", line 15, in <module>
    from moviepy.config import get_setting
  File "C:Python27libsite-packagesmoviepyconfig.py", line 38, in <module>
    FFMPEG_BINARY = get_exe()
  File "C:Python27libsite-packagesimageiopluginsffmpeg.py", line 86, in get_exe
    raise NeedDownloadError('Need ffmpeg exe. '
NeedDownloadError: Need ffmpeg exe. You can download it by calling:
  imageio.plugins.ffmpeg.download()

Advertisement

Answer

This package relies on the ffmpeg executable to be in the PATH.

So just download it, install it somewhere, and add installation directory to PATH. make sure it can be accessed by typing:

ffmpeg

from the command line.

Advertisement