From 765a9a99ebf3aa6556c7fea55da9fa83c3f62b71 Mon Sep 17 00:00:00 2001 From: Emmanuel Morales <31712515+EmmanuelMr18@users.noreply.github.com> Date: Sun, 23 Feb 2025 21:19:22 -0600 Subject: [PATCH] fix: No module named 'diffusers' I was getting this error in a clean comfyUI installation (without other custom nodes) ``` No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate' Failed to load library ( 'libOpenGL.so.0' ): libOpenGL.so.0: cannot open shared object file: No such file or directory Traceback (most recent call last): File "/comfyui/nodes.py", line 2108, 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 "/comfyui/custom_nodes/ComfyUI_Fill-Nodes-fix-FL-image-notes/__init__.py", line 91, in from .nodes.FL_HunyuanDelight import FL_HunyuanDelight File "/comfyui/custom_nodes/ComfyUI_Fill-Nodes-fix-FL-image-notes/nodes/FL_HunyuanDelight.py", line 6, in from diffusers import StableDiffusionInstructPix2PixPipeline, EulerAncestralDiscreteScheduler ModuleNotFoundError: No module named 'diffusers' Cannot import /comfyui/custom_nodes/ComfyUI_Fill-Nodes-fix-FL-image-notes module for custom nodes: No module named 'diffusers' ``` I think this usually is not a problem because it is not usual to have only 1 custom node, so I'm thinking that some of all the other custom nodes are installing it and that is why doesn't fail. --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 869d4f5..56acda2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ +diffusers librosa sounddevice glitch_this @@ -19,4 +20,4 @@ ollama kornia opencv-python gdown -open_clip_torch \ No newline at end of file +open_clip_torch