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.
JavaScript
x
17
17
1
File "C:UsersPabloDesktoptxts_pys_phps_programacionInstagram-API-python-masterInstagramAPI.py", line 15, in <module>
2
from moviepy.editor import VideoFileClip
3
File "C:Python27libsite-packagesmoviepyeditor.py", line 22, in <module>
4
from .video.io.VideoFileClip import VideoFileClip
5
File "C:Python27libsite-packagesmoviepyvideoioVideoFileClip.py", line 3, in <module>
6
from moviepy.video.VideoClip import VideoClip
7
File "C:Python27libsite-packagesmoviepyvideoVideoClip.py", line 20, in <module>
8
from .io.ffmpeg_writer import ffmpeg_write_image, ffmpeg_write_video
9
File "C:Python27libsite-packagesmoviepyvideoioffmpeg_writer.py", line 15, in <module>
10
from moviepy.config import get_setting
11
File "C:Python27libsite-packagesmoviepyconfig.py", line 38, in <module>
12
FFMPEG_BINARY = get_exe()
13
File "C:Python27libsite-packagesimageiopluginsffmpeg.py", line 86, in get_exe
14
raise NeedDownloadError('Need ffmpeg exe. '
15
NeedDownloadError: Need ffmpeg exe. You can download it by calling:
16
imageio.plugins.ffmpeg.download()
17
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:
JavaScript
1
2
1
ffmpeg
2
from the command line.