Error moviepy.editor

Traceback (most recent call last):
File “C:\Users\user\OneDrive\Desktop\ohio.py”, line 3, in
from moviepy.editor import VideoFileClip, TextClip, CompositeVideoClip
ModuleNotFoundError: No module named ‘moviepy.editor’

I have it installed but its not working

Same issue. Did your issue resolved?

That failing code was written for moviepy version 1.

There were breaking changes for moviepy version 2, which is the current version.

You can find a link to the changes on the PyPI page.