Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ModuleNotFoundError while importing moviepy.editor

I'm trying to work with VideoFileClip and vfx functions from the Moviepy library but my interpreter keeps throwing a 'ModuleNotFoundError: No module named 'moviepy.editor''.

I've installed and reinstalled Moviepy several times but to no avail

I tried: from moviepy.editor import VideoFileClip, vfx

I expected the import statement to work.

Edit:

  1. Other imports like 'from moviepy.video.io.VideoFileClip import VideoFileClip' seem to work except the moviepy.editor

  2. library imageio and the program ffmpeg have already been successfully downloaded so the replies from this post aren't helping

like image 433
Arushi Sachan Avatar asked Dec 11 '25 04:12

Arushi Sachan


1 Answers

try:

from moviepy import VideoFileClip

instead of:

from moviepy.editor import VideoFileClip

It works.

like image 171
Koyiljon Valiev Avatar answered Dec 12 '25 17:12

Koyiljon Valiev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!