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

[BUG] - Import failed / No module named 'comfyui-prompt-reader-node.stable_diffusion_prompt_reader' #113

Open
Neurosis404 opened this issue Feb 10, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Neurosis404
Copy link

Description

Hi,

as mentioned here and here, I am getting the following error:

0.0 seconds (IMPORT FAILED): /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-prompt-reader-node

But unlike in the other posts, I am NOT using python < 3.10. Instead, I am on 3.11. I tried installing manually via git and also via ComfyUI Manager. I am on Linux Mint, here is my startup log:

[START] Security scan
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2025-02-10 17:55:28.229
** Platform: Linux
** Python version: 3.11.0rc1 (main, Aug 12 2022, 10:02:14) [GCC 11.2.0]
** Python executable: /mnt/disks/StableDiffusion/ComfyUI/comfy/bin/python
** ComfyUI Path: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI
** ComfyUI Base Folder Path: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI
** User directory: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/user
** ComfyUI-Manager config path: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/user/default/ComfyUI-Manager/config.ini
** Log path: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/user/comfyui.log
/mnt/disks/StableDiffusion/ComfyUI/comfy/bin/python: No module named uv
[ComfyUI-Manager] Failed to retrieve the information of installed pip packages.
Failed to execute startup-script: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/ComfyUI-Manager/prestartup_script.py / 'set' object is not a mapping

Prestartup times for custom nodes:
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-easy-use
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/rgthree-comfy
   1.8 seconds (PRESTARTUP FAILED): /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/ComfyUI-Manager

Checkpoint files will always be loaded safely.
Total VRAM 12035 MB, total RAM 32012 MB
pytorch version: 2.6.0+cu124
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3060 : cudaMallocAsync
Using pytorch attention
ComfyUI version: 0.3.13
[Prompt Server] web root: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/web
(pysssss:WD14Tagger) [DEBUG] Available ORT providers: AzureExecutionProvider, CPUExecutionProvider
(pysssss:WD14Tagger) [DEBUG] Using ORT providers: CUDAExecutionProvider, CPUExecutionProvider
Traceback (most recent call last):
  File "/mnt/disks/StableDiffusion/ComfyUI/ComfyUI/nodes.py", line 2110, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-tensorops/__init__.py", line 1, in <module>
    from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
  File "/mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-tensorops/nodes/__init__.py", line 7, in <module>
    from .redis import SaveToRedis, FetchFromRedis
  File "/mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-tensorops/nodes/redis.py", line 3, in <module>
    import redis
  File "/mnt/disks/StableDiffusion/ComfyUI/comfy/lib/python3.11/site-packages/redis/__init__.py", line 3, in <module>
    from redis import asyncio  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/disks/StableDiffusion/ComfyUI/comfy/lib/python3.11/site-packages/redis/asyncio/__init__.py", line 1, in <module>
    from redis.asyncio.client import Redis, StrictRedis
  File "/mnt/disks/StableDiffusion/ComfyUI/comfy/lib/python3.11/site-packages/redis/asyncio/client.py", line 35, in <module>
    from redis.asyncio.connection import (
  File "/mnt/disks/StableDiffusion/ComfyUI/comfy/lib/python3.11/site-packages/redis/asyncio/connection.py", line 37, in <module>
    from async_timeout import timeout as async_timeout
ModuleNotFoundError: No module named 'async_timeout'

Cannot import /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-tensorops module for custom nodes: No module named 'async_timeout'
### Loading: ComfyUI-Impact-Pack (V8.8.1)
[Impact Pack] Wildcards loading done.
------------------------------------------
Comfyroll Studio v1.76 :  175 Nodes Loaded
------------------------------------------
** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md
** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki
------------------------------------------
### Loading: ComfyUI-Impact-Subpack (V1.2.9)
[Impact Subpack] ultralytics_bbox: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/models/ultralytics/bbox
[Impact Subpack] ultralytics_segm: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/models/ultralytics/segm

[ReActor] - STATUS - Running v0.5.2-b2 in ComfyUI
Torch version: 2.6.0+cu124
--------------
 ### Mixlab Nodes: Loaded
json_repair## OK
ChatGPT.available True
edit_mask.available True
## clip_interrogator_model not found: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/models/clip_interrogator/Salesforce/blip-image-captioning-base, pls download from https://huggingface.co/Salesforce/blip-image-captioning-base
ClipInterrogator.available True
## text_generator_model not found: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/models/prompt_generator/text2image-prompt-generator, pls download from https://huggingface.co/succinctly/text2image-prompt-generator/tree/main
## zh_en_model not found: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/models/prompt_generator/opus-mt-zh-en, pls download from https://huggingface.co/Helsinki-NLP/opus-mt-zh-en/tree/main
PromptGenerate.available True
ChinesePrompt.available True
RembgNode_.available True
TripoSR.available
MiniCPMNode.available
Scenedetect.available
FishSpeech.available False
SenseVoice.available
Whisper.available False
fal-client## OK
FalVideo.available
 -------------- 
Traceback (most recent call last):
  File "/mnt/disks/StableDiffusion/ComfyUI/ComfyUI/nodes.py", line 2110, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-prompt-reader-node/__init__.py", line 1, in <module>
    from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
  File "/mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-prompt-reader-node/nodes.py", line 31, in <module>
    from .stable_diffusion_prompt_reader.sd_prompt_reader.constants import (
ModuleNotFoundError: No module named 'comfyui-prompt-reader-node.stable_diffusion_prompt_reader'

Cannot import /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-prompt-reader-node module for custom nodes: No module named 'comfyui-prompt-reader-node.stable_diffusion_prompt_reader'
jjk_util loding
[comfy-mtb] | INFO -> loaded 94 nodes successfuly
[comfy-mtb] | INFO -> Some nodes (2) could not be loaded. This can be ignored, but go to http://127.0.0.1:8188/mtb if you want more information.

[rgthree-comfy] Loaded 42 epic nodes. 🎉

Total VRAM 12035 MB, total RAM 32012 MB
pytorch version: 2.6.0+cu124
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3060 : cudaMallocAsync
Web extensions folder found at /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/web/extensions/ComfyLiterals
Could not find efficiency nodes
[comfyui_controlnet_aux] | INFO -> Using ckpts path: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts
[comfyui_controlnet_aux] | INFO -> Using symlinks: False
[comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']
Loaded ControlNetPreprocessors nodes from /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui_controlnet_aux
Could not find AdvancedControlNet nodes
Could not find AnimateDiff nodes
Could not find IPAdapter nodes
Could not find VideoHelperSuite nodes
Could not load ImpactPack nodes Could not find ImpactPack nodes
[ComfyUI-Easy-Use] server: v1.2.6 Loaded
[ComfyUI-Easy-Use] web root: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-easy-use/web_version/v2 Loaded
### Loading: ComfyUI-Manager (V3.17.6)
### ComfyUI Version: v0.3.13-9-g44e19a28 | Released on '2025-02-02'
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
WAS Node Suite: OpenCV Python FFMPEG support is enabled
WAS Node Suite Warning: `ffmpeg_bin_path` is not set in `/mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/pr-was-node-suite-comfyui-47064894/was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available.
WAS Node Suite: Finished. Loaded 218 nodes successfully.

	"Art enables us to find ourselves and lose ourselves at the same time." - Thomas Merton


Import times for custom nodes:
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/debug_tensors.py
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/websocket_image_save.py
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-florence2
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui_controlnet_aux
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/save-image-extended-comfyui
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/ComfyUI-Jjk-Nodes
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/ComfyLiterals
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfy-image-saver
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui_instantid
   0.0 seconds (IMPORT FAILED): /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-prompt-reader-node
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-wd14-tagger
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/ComfyUI-GGUF
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/wlsh_nodes
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-custom-scripts
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui_essentials
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/ComfyUI_UltimateSDUpscale
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/ComfyUI_Load_Image_With_Metadata
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/rgthree-comfy
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-kjnodes
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/ComfyUI_essentials
   0.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes
   0.0 seconds (IMPORT FAILED): /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-tensorops
   0.1 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-art-venture
   0.1 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfy-mtb
   0.1 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/ComfyUI-Manager
   0.1 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-easy-use
   0.1 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-impact-subpack
   0.4 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-impact-pack
   0.8 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer
   0.9 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-reactor
   1.3 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui_zenid
   1.4 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/pr-was-node-suite-comfyui-47064894
   3.0 seconds: /mnt/disks/StableDiffusion/ComfyUI/ComfyUI/custom_nodes/comfyui-mixlab-nodes

Starting server

To see the GUI go to: http://127.0.0.1:8188

Reproduction steps

  1. Install ComfyUI
  2. Install Comfy manager
  3. Search for "Prompt reader"
  4. Click install
  5. Error

Image file

Image

@Neurosis404 Neurosis404 added the bug Something isn't working label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant