Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'diffusers' #93

Open
liubai021 opened this issue Nov 27, 2024 · 2 comments
Open

ModuleNotFoundError: No module named 'diffusers' #93

liubai021 opened this issue Nov 27, 2024 · 2 comments

Comments

@liubai021
Copy link

我这里一直提示我缺少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
Copy link

same issue

@smthemex
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants