ModuleNotFoundError: No module named 'moviepy.editor

#39
by tomasruiz - opened

Hello everyone,

The current Chat Inference example (https://huggingface.co/openbmb/MiniCPM-o-2_6#chat-inference) does not work with the latest moviepy. In the requirements section the moviepy version is also not fixed. The error raised is below.

Traceback (most recent call last):
  File "/root/code/simple-inference-benchmark/minicpm_omni.py", line 4, in <module>
    from moviepy.editor import VideoFileClip
ModuleNotFoundError: No module named 'moviepy.editor

People have suggested several fixes on the client side (https://github.com/harry0703/MoneyPrinterTurbo/issues/535). The fix for me was to import VideoFileClip directly, rather than from moviepy.editor

from moviepy import VideoFileClip

You could update the Chat Inference example πŸ˜„

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment