mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-11-05 07:47:25 +00:00
[GH-ISSUE #1558] Import Failed - ComfyUI\custom_nodes\ComfyUI-Manager - No Module named RICH #662
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/ComfyUI-Manager#662
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TheLastDinosaur on GitHub (Feb 17, 2025).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/1558
Pulled the latest to check if ComfyUI Manager is working.
But still getting the error
[START] Security scan
[DONE] Security scan
ComfyUI-Manager: installing dependencies. (GitPython)
ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2025-02-17 11:47:35.088
** Platform: Windows
** Python version: 3.12.8 (tags/v3.12.8:2dc476b, Dec 3 2024, 19:30:04) [MSC v.1942 64 bit (AMD64)]
** Python executable: C:\Users\psyam\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\python.exe
** ComfyUI Path: C:\Users\psyam\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI
** ComfyUI Base Folder Path: C:\Users\psyam\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI
** User directory: C:\Users\psyam\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\user
** ComfyUI-Manager config path: C:\Users\psyam\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\config.ini
** Log path: C:\Users\psyam\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\user\comfyui.log
Prestartup times for custom nodes:
7.1 seconds: C:\Users\psyam\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
Checkpoint files will always be loaded safely.
Total VRAM 6144 MB, total RAM 15790 MB
pytorch version: 2.6.0+cu126
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce GTX 1660 Ti : cudaMallocAsync
Using pytorch attention
ComfyUI version: 0.3.14
[Prompt Server] web root: C:\Users\psyam\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\web
Traceback (most recent call last):
File "C:\Users\psyam\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2112, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 999, in exec_module
File "", line 488, in call_with_frames_removed
File "C:\Users\psyam\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager_init.py", line 8, in
import manager_server # noqa: F401
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\psyam\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 17, in
import manager_core as core
File "C:\Users\psyam\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_core.py", line 29, in
from rich import print
ModuleNotFoundError: No module named 'rich'
Cannot import C:\Users\psyam\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager module for custom nodes: No module named 'rich'
Import times for custom nodes:
0.0 seconds: C:\Users\psyam\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
0.1 seconds (IMPORT FAILED): C:\Users\psyam\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
Starting server
To see the GUI go to: http://127.0.0.1:8188
@ltdrdata commented on GitHub (Feb 17, 2025):
Show me the content of the
custom_nodes/comfyui-manager/pyproject.yaml@TheLastDinosaur commented on GitHub (Feb 17, 2025):
There is only pyproject.toml file.
in which the content is as follows.
[project]
name = "comfyui-manager"
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
version = "3.22.2"
license = { file = "LICENSE.txt" }
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]
[project.urls]
Repository = "https://github.com/ltdrdata/ComfyUI-Manager"
Used by Comfy Registry https://comfyregistry.org
[tool.comfy]
PublisherId = "drltdata"
DisplayName = "ComfyUI-Manager"
Icon = ""
@laurentvv commented on GitHub (Feb 17, 2025):
Launch PowerShell:
Navigate to the ComfyUI directory:
(Adjust the directory path as needed)
Run the following command to install the module:
@TheLastDinosaur commented on GitHub (Feb 17, 2025):
Thanks, this resolved the issue.
@ltdrdata commented on GitHub (Feb 17, 2025):
This does resolve the issue, but the problem is that the
richpackage should be installed automatically if it's not already present.It seems to be failing due to some issue that I can't reproduce on my end.
@jakechai commented on GitHub (Feb 22, 2025):
For me, the Manager still doesn't work for the latest ComfyUI. I have to
--force-reinstallrich and toml, also one I forgot the name for rgthree.@ClearstoryImaging commented on GitHub (Mar 7, 2025):
I had the same issue. For me, my anti malware (ESET - Live Guard) was identifying Rich and Toml as files it needed to block for analysis while letting everything else through. I had to add an exclusion for the whole portable folder (under ESET detection engine exclusions) and use pip install --upgrade --force-reinstall for both Rich and Toml and now manager is finally working.
@ltdrdata commented on GitHub (Mar 7, 2025):
OMG......