Can't import moviepy.editor

EDIT: You can now update moviepy to v0.2.3.3 with pip install --upgrade moviepy and it will automatically install ffmpeg when required upon import of moviepy.editor (#731)


Run in a python console/shell (e.g. IPython/IDLE shell):

>>> import imageio
>>> imageio.plugins.ffmpeg.download()

Moviepy depends on the library imageio, which uses the program ffmpeg. It needs to download it before it can use it, and you can download it with the above imageio command.


I had a similar issue. It got fixed by the following line of code.

python -m pip install moviepy