[GH-ISSUE #567] how to solve this Cannot import /kaggle/working/ui/custom_nodes/ComfyUI-Manager module for custom nodes: No module named 'git' #262

Closed
opened 2026-10-27 21:15:27 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @jjiikkkk on GitHub (Apr 15, 2024).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/567

Using xformers cross attention
Registered sys.path: ['/kaggle/working/ui/custom_nodes/comfyui_controlnet_aux/src/custom_oneformer', '/kaggle/working/ui/custom_nodes/comfyui_controlnet_aux/src/custom_mmpkg', '/kaggle/working/ui/custom_nodes/comfyui_controlnet_aux/src/init.py', '/kaggle/working/ui/custom_nodes/comfyui_controlnet_aux/src/custom_detectron2', '/kaggle/working/ui/custom_nodes/comfyui_controlnet_aux/src/custom_midas_repo', '/kaggle/working/ui/custom_nodes/comfyui_controlnet_aux/src/custom_pycocotools', '/kaggle/working/ui/custom_nodes/comfyui_controlnet_aux/src/controlnet_aux', '/kaggle/working/ui/custom_nodes/comfyui_controlnet_aux/src', '/kaggle/working/ui/comfy', '/kaggle/working/ui', '/kaggle/lib/kagglegym', '/kaggle/lib', '/opt/conda/envs/colabui/lib/python310.zip', '/opt/conda/envs/colabui/lib/python3.10', '/opt/conda/envs/colabui/lib/python3.10/lib-dynload', '/root/.local/lib/python3.10/site-packages', '/opt/conda/envs/colabui/lib/python3.10/site-packages', '/kaggle/working/ui/custom_nodes/ComfyUI-Manager/glob']
Traceback (most recent call last):
File "/kaggle/working/ui/nodes.py", line 1734, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/kaggle/working/ui/custom_nodes/ComfyUI-Manager/init.py", line 18, in
from .glob import manager_core as core
File "/kaggle/working/ui/custom_nodes/ComfyUI-Manager/glob/manager_core.py", line 9, in
import git
ModuleNotFoundError: No module named 'git'

Cannot import /kaggle/working/ui/custom_nodes/ComfyUI-Manager module for custom nodes: No module named 'git'

Import times for custom nodes:
0.0 seconds (IMPORT FAILED): /kaggle/working/ui/custom_nodes/ComfyUI-Manager
0.0 seconds: /kaggle/working/ui/custom_nodes/comfyui_controlnet_aux

thanks.

Originally created by @jjiikkkk on GitHub (Apr 15, 2024). Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/567 Using xformers cross attention Registered sys.path: ['/kaggle/working/ui/custom_nodes/comfyui_controlnet_aux/src/custom_oneformer', '/kaggle/working/ui/custom_nodes/comfyui_controlnet_aux/src/custom_mmpkg', '/kaggle/working/ui/custom_nodes/comfyui_controlnet_aux/src/__init__.py', '/kaggle/working/ui/custom_nodes/comfyui_controlnet_aux/src/custom_detectron2', '/kaggle/working/ui/custom_nodes/comfyui_controlnet_aux/src/custom_midas_repo', '/kaggle/working/ui/custom_nodes/comfyui_controlnet_aux/src/custom_pycocotools', '/kaggle/working/ui/custom_nodes/comfyui_controlnet_aux/src/controlnet_aux', '/kaggle/working/ui/custom_nodes/comfyui_controlnet_aux/src', '/kaggle/working/ui/comfy', '/kaggle/working/ui', '/kaggle/lib/kagglegym', '/kaggle/lib', '/opt/conda/envs/colabui/lib/python310.zip', '/opt/conda/envs/colabui/lib/python3.10', '/opt/conda/envs/colabui/lib/python3.10/lib-dynload', '/root/.local/lib/python3.10/site-packages', '/opt/conda/envs/colabui/lib/python3.10/site-packages', '/kaggle/working/ui/custom_nodes/ComfyUI-Manager/glob'] Traceback (most recent call last): File "/kaggle/working/ui/nodes.py", line 1734, in load_custom_node module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/kaggle/working/ui/custom_nodes/ComfyUI-Manager/__init__.py", line 18, in <module> from .glob import manager_core as core File "/kaggle/working/ui/custom_nodes/ComfyUI-Manager/glob/manager_core.py", line 9, in <module> import git ModuleNotFoundError: No module named 'git' Cannot import /kaggle/working/ui/custom_nodes/ComfyUI-Manager module for custom nodes: No module named 'git' Import times for custom nodes: 0.0 seconds (IMPORT FAILED): /kaggle/working/ui/custom_nodes/ComfyUI-Manager 0.0 seconds: /kaggle/working/ui/custom_nodes/comfyui_controlnet_aux thanks.
Author
Owner

@jjiikkkk commented on GitHub (Apr 15, 2024):

and unable to find
Build Blended Face Model
ReActor-Fast Face Swap
after I # 切换到克隆的仓库目录
%cd ComfyUI-Manager

切换到指定的commit

!git checkout 3edb3586b7

is the checkout 3edb is unable to use such nodes above?

<!-- gh-comment-id:2057662728 --> @jjiikkkk commented on GitHub (Apr 15, 2024): and unable to find Build Blended Face Model ReActor-Fast Face Swap after I # 切换到克隆的仓库目录 %cd ComfyUI-Manager # 切换到指定的commit !git checkout 3edb3586b7077f9d6d495d48caa79b20d1572ece is the checkout 3edb is unable to use such nodes above?
Author
Owner

@ltdrdata commented on GitHub (Apr 15, 2024):

This is fixed.

<!-- gh-comment-id:2057958426 --> @ltdrdata commented on GitHub (Apr 15, 2024): This is fixed.
Author
Owner

@Soul-OMON commented on GitHub (Dec 25, 2024):

When running the Run ComfyUI with cloudflared (Recommended Way) block in Kaggle
at the end the command is called:
This is the URL to access ComfyUI: https://default-hopkins-muslim-strategy.trycloudflare.com/ |
^C

Stopped server

Which causes the server to stop. Can this be fixed somehow?

<!-- gh-comment-id:2561955278 --> @Soul-OMON commented on GitHub (Dec 25, 2024): When running the Run ComfyUI with cloudflared (Recommended Way) block in Kaggle at the end the command is called: This is the URL to access ComfyUI: https://default-hopkins-muslim-strategy.trycloudflare.com/ | ^C Stopped server Which causes the server to stop. Can this be fixed somehow?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#262
No description provided.