ModuleNotFoundError: No module named 'moviepy.editor'

ModuleNotFoundError: No module named ‘moviepy.editor’

2025-06-06 07:30:39.627 503 GET /script-health-check (127.0.0.1) 335.44ms

────────────────────── Traceback (most recent call last) ───────────────────────

/home/adminuser/venv/lib/python3.12/site-packages/streamlit/runtime/scriptru

nner/exec_code.py:121 in exec_func_with_error_handling

/home/adminuser/venv/lib/python3.12/site-packages/streamlit/runtime/scriptru

nner/script_runner.py:645 in code_to_exec

/mount/src/m.py:27 in

  24 import speech_recognition as sr                                        

  25 from pydub import AudioSegment                                         

  26 from pydub.playback import play                                        

❱ 27 from moviepy.editor import VideoFileClip

  28 import tempfile                                                        

  29 from audiorecorder import audiorecorder                                

  30 from fhirpy import SyncFHIRClient                                      

────────────────────────────────────────────────────────────────────────────────

ModuleNotFoundError: No module named ‘moviepy.editor’

2025-06-06 07:30:44.644 503 GET /script-health-check (127.0.0.1) 347.72ms
Please take a moment to search the forum and documentation before posting a new topic.
If you’re creating a debugging post, please include the following info:

  1. Are you running your app locally or is it deployed? Deployed
  2. If your app is deployed:
    a. Is it deployed on Community Cloud or another hosting platform? deployed on Community Cloud
    b. Share the link to the public deployed app. DocuNexus AGI-Agent :robot:: MeldRx Predictive AI App · Streamlit
  3. Share the link to your app’s public GitHub repository (including a requirements file). Private using moviepy for moviepy
  4. Share the full text of the error message (not a screenshot). Above
  5. Share the Streamlit and Python versions. Latest version