From a85a0175b33f03d4b5a9d7817a783e82fd952219 Mon Sep 17 00:00:00 2001 From: Alex Maslov Date: Fri, 19 Sep 2025 14:16:38 -0300 Subject: [PATCH] Add missing moviepy dependency The preprocess_data can't run without it: ``` /workspace/Wan2.2# python ./wan/modules/animate/preprocess/preprocess_data.py --ckpt_path ./Wan2.2-Animate-14B/process_checkpoint --video_path ./examples/wan_animate/replace/video.mp4 --refer_path ./examples/wan_animate/replace/image.jpeg --save_path ./examples/wan_animate/replace/process_results --resolution_area 1280 720 --iterations 3 --k 7 --w_len 1 --h_len 1 --replace_flag Traceback (most recent call last): File "/workspace/Wan2.2/wan/modules/animate/preprocess/process_pipepline.py", line 11, in import moviepy.editor as mpy ModuleNotFoundError: No module named 'moviepy' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/workspace/Wan2.2/./wan/modules/animate/preprocess/preprocess_data.py", line 4, in from process_pipepline import ProcessPipeline File "/workspace/Wan2.2/wan/modules/animate/preprocess/process_pipepline.py", line 13, in import moviepy as mpy ModuleNotFoundError: No module named 'moviepy' ``` --- requirements_animate.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements_animate.txt b/requirements_animate.txt index a5acafce..94a385ef 100644 --- a/requirements_animate.txt +++ b/requirements_animate.txt @@ -1,3 +1,4 @@ +moviepy decord peft onnxruntime @@ -5,4 +6,4 @@ pandas matplotlib -e git+https://github.com/facebookresearch/sam2.git@0e78a118995e66bb27d78518c4bd9a3e95b4e266#egg=SAM-2 loguru -sentencepiece \ No newline at end of file +sentencepiece