smthemex / ComfyUI_EchoMimic

You can using EchoMimic in ComfyUI
Apache License 2.0
389 stars 38 forks source link

ModuleNotFoundError: No module named 'diffusers' #93

Open liubai021 opened 6 days ago

liubai021 commented 6 days ago

我这里一直提示我缺少diffusers模块 我按照GPT给出的方法在根目录跟插件目录都pin了,但还是一直这样 请问有遇到相同问题的用什么方法解决吗。

Traceback (most recent call last): File "E:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2027, in load_custom_node module_spec.loader.exec_module(module) File "", line 995, in exec_module File "", line 488, in _call_with_frames_removed File "E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_EchoMimic__init__.py", line 2, in from .EchoMimic_node import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS File "E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_EchoMimic\EchoMimic_node.py", line 11, in from diffusers import AutoencoderKL, DDIMScheduler ModuleNotFoundError: No module named 'diffusers'

Cannot import E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_EchoMimic module for custom nodes: No module named 'diffusers' Traceback (most recent call last): File "E:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2027, in load_custom_node module_spec.loader.exec_module(module) File "", line 991, in exec_module File "", line 1128, in get_code File "", line 1186, in get_data 微信截图_20241127141705

xuhuang37 commented 3 days ago

same issue

smthemex commented 3 days ago

diffusers 是comfyUI便携包的标配,不可能缺少的,唯一的可能是你的diffusers版本太低,或者你的便携包不是官方版本的。这不是插件的问题,是你的环境的问题。 便携包在python_embeded下打开CMD,输入python -m pip show diffusers 看是否有 如果没有输入python -m pip install diffusers 或者版本太低,输入 python -m pip install -U diffusers