Due to some major change in the Moviepy library, you can get the “ModuleNotFoundError: No module named ‘moviepy.editor'” error.
This is How to solve “ModuleNotFoundError: No module named ‘moviepy.editor'” error.
After some searches the best way to solve this issue is to install manually all dependencies.
pip install moviepy==1.0.3 numpy>=1.18.1 imageio>=2.5.0 decorator>=4.3.0 tqdm>=4.0.0 Pillow>=7.0.0 scipy>=1.3.0 pydub>=0.23.0 audiofile>=0.0.0 opencv-python>=4.5
The source of this code is this answer on Stackoverflow.This will solve the issue if the error is not related to other dependencies such as FFMPEG in path or something similar.