kijai / ComfyUI-DynamiCrafterWrapper

Wrapper to use DynamiCrafter models in ComfyUI
Other
611 stars 22 forks source link

ModuleNotFoundError: No module named 'decord' #5

Closed popedead closed 6 months ago

popedead commented 6 months ago

File "G:\AI\ComfyUI\ComfyUI\nodes.py", line 1888, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "G:\AI\ComfyUI\ComfyUI\custom_nodes\ComfyUI-DynamiCrafterWrapper__init__.py", line 1, in from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS File "G:\AI\ComfyUI\ComfyUI\custom_nodes\ComfyUI-DynamiCrafterWrapper\nodes.py", line 5, in from .scripts.evaluation.funcs import load_model_checkpoint, get_latent_z File "G:\AI\ComfyUI\ComfyUI\custom_nodes\ComfyUI-DynamiCrafterWrapper\scripts\evaluation\funcs.py", line 4, in from decord import VideoReader, cpu ModuleNotFoundError: No module named 'decord'

Cannot import G:\AI\ComfyUI\ComfyUI\custom_nodes\ComfyUI-DynamiCrafterWrapper module for custom nodes: No module named 'decord'

kijai commented 6 months ago

You do need to install the requirements.txt as well: pip install -r requirements.txt

or if you use portable (run this in ComfyUI_windows_portable -folder):

python_embeded\python.exe -m pip install -r ComfyUI\custom_nodes\ComfyUI-DynamiCrafterWrapper\requirements.txt

Though 'decord' was totally unnecessary and I have removed it as requirement in current version now.