ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

ComfyUI Registry not recognising already installed custom nodes

Open Mango0o0 opened this issue 7 months ago • 6 comments

Custom Node Testing

Your question

Hello! Since the update last week (Wednesday if I am not mistaken), I have not been able to use some specific nodes as ComfyUI does not regonise them and is unable to import them. Any workflow that does not imply any of these actually works without an issue.

I've re-installed everything from scratch (ComfyUI, Python, Cuda... as well as dependencies) on three different computers with two different python versions (3.11.9, & 3.12.7) to see if there was something wrong with my python installations as well as coppied al site-packages in both Roaming and Local. In one of the installations I had sage attention and triton installed (as Wan Video Wrapper needs them) and skipped them on the other two. Same issue on all workstations regardless.

No errors on my log except for the imports failing that I can recognise.

Error Screens on the manager for each of the custom nodes show this message:

Image

Image

Any help will be appreciated. Thank you!

Here is the log:

C:\ComfyUI>python main.py
[START] Security scan
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2025-06-23 08:43:46.369
** Platform: Windows
** Python version: 3.12.10 (tags/v3.12.10:0cc8128, Apr  8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]
** Python executable: C:\Users\KRAKEN\AppData\Local\Programs\Python\Python312\python.exe
** ComfyUI Path: C:\ComfyUI
** ComfyUI Base Folder Path: C:\ComfyUI
** User directory: C:\ComfyUI\user
** ComfyUI-Manager config path: C:\ComfyUI\user\default\ComfyUI-Manager\config.ini
** Log path: C:\ComfyUI\user\comfyui.log

Prestartup times for custom nodes:
   0.0 seconds: C:\ComfyUI\custom_nodes\rgthree-comfy
   0.0 seconds: C:\ComfyUI\custom_nodes\comfyui-easy-use
   5.3 seconds: C:\ComfyUI\custom_nodes\ComfyUI-Manager

Checkpoint files will always be loaded safely.
Total VRAM 24563 MB, total RAM 130881 MB
pytorch version: 2.8.0.dev20250617+cu128
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
Using pytorch attention
Python version: 3.12.10 (tags/v3.12.10:0cc8128, Apr  8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]
ComfyUI version: 0.3.41
ComfyUI frontend version: 1.21.7
[Prompt Server] web root: C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\comfyui_frontend_package\static
Error:
[WinError 1314] A required privilege is not held by the client: 'C:\\ComfyUI\\custom_nodes\\ComfyLiterals\\js' -> 'C:\\ComfyUI\\web\\extensions\\ComfyLiterals'
Failed to create symlink to C:\ComfyUI\web\extensions\ComfyLiterals. Please copy the folder manually.
Source: C:\ComfyUI\custom_nodes\ComfyLiterals\js
Target: C:\ComfyUI\web\extensions\ComfyLiterals
[AnimateDiffEvo] - ERROR - No motion models found. Please download one and place in: ['C:\\ComfyUI\\custom_nodes\\comfyui-animatediff-evolved\\models', 'C:\\ComfyUI\\models\\animatediff_models']
Adding C:\ComfyUI\custom_nodes to sys.path
C:\ComfyUI\custom_nodes\comfyui-art-venture\modules\utils.py:9: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
Could not find efficiency nodes
[comfyui_controlnet_aux] | INFO -> Using ckpts path: C:\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']
C:\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\dwpose.py:26: UserWarning: DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly
  warnings.warn("DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly")
Loaded ControlNetPreprocessors nodes from C:\ComfyUI\custom_nodes\comfyui_controlnet_aux
Could not find AdvancedControlNet nodes
Could not find AnimateDiff nodes
Loaded IPAdapter nodes from C:\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus
Could not find VideoHelperSuite nodes
Could not load ImpactPack nodes Could not find ImpactPack nodes
[Crystools INFO] Crystools version: 1.25.1
[Crystools INFO] Platform release: 10
[Crystools INFO] JETSON: Not detected.
[Crystools INFO] CPU: 13th Gen Intel(R) Core(TM) i9-13900K - Arch: AMD64 - OS: Windows 10
[Crystools INFO] pynvml (NVIDIA) initialized.
[Crystools INFO] GPU/s:
[Crystools INFO] 0) NVIDIA GeForce RTX 4090
[Crystools INFO] NVIDIA Driver: 576.02
Could not find the bitsandbytes CUDA binary at WindowsPath('C:/Users/KRAKEN/AppData/Roaming/Python/Python312/site-packages/bitsandbytes/libbitsandbytes_cuda128.dll')
The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable.
Module 'diffusers' load failed. If you don't have it installed, do it:
pip install diffusers
[ComfyUI-Easy-Use] server: v1.3.0 Loaded
[ComfyUI-Easy-Use] web root: C:\ComfyUI\custom_nodes\comfyui-easy-use\web_version/v2 Loaded
Traceback (most recent call last):
  File "C:\ComfyUI\nodes.py", line 2124, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "C:\ComfyUI\custom_nodes\ComfyUI-Hunyuan3DWrapper\__init__.py", line 1, in <module>
    from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
  File "C:\ComfyUI\custom_nodes\ComfyUI-Hunyuan3DWrapper\nodes.py", line 12, in <module>
    from .hy3dgen.shapegen import Hunyuan3DDiTFlowMatchingPipeline, FaceReducer, FloaterRemover, DegenerateFaceRemover
  File "C:\ComfyUI\custom_nodes\ComfyUI-Hunyuan3DWrapper\hy3dgen\shapegen\__init__.py", line 26, in <module>
    from .postprocessors import FaceReducer, FloaterRemover, DegenerateFaceRemover
  File "C:\ComfyUI\custom_nodes\ComfyUI-Hunyuan3DWrapper\hy3dgen\shapegen\postprocessors.py", line 23, in <module>
    from .models.autoencoders import Latent2MeshOutput
  File "C:\ComfyUI\custom_nodes\ComfyUI-Hunyuan3DWrapper\hy3dgen\shapegen\models\__init__.py", line 26, in <module>
    from .conditioner import DualImageEncoder, SingleImageEncoder, DinoImageEncoder, CLIPImageEncoder
  File "C:\ComfyUI\custom_nodes\ComfyUI-Hunyuan3DWrapper\hy3dgen\shapegen\models\conditioner.py", line 29, in <module>
    from transformers import (
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\utils\import_utils.py", line 2045, in __getattr__
    module = self._get_module(self._class_to_module[name])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\utils\import_utils.py", line 2075, in _get_module
    raise e
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\utils\import_utils.py", line 2073, in _get_module
    return importlib.import_module("." + module_name, self.__name__)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\KRAKEN\AppData\Local\Programs\Python\Python312\Lib\importlib\__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\models\clip\modeling_clip.py", line 27, in <module>
    from ...modeling_utils import ALL_ATTENTION_FUNCTIONS, PreTrainedModel
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\modeling_utils.py", line 73, in <module>
    from .loss.loss_utils import LOSS_MAPPING
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\loss\loss_utils.py", line 21, in <module>
    from .loss_d_fine import DFineForObjectDetectionLoss
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\loss\loss_d_fine.py", line 21, in <module>
    from .loss_for_object_detection import (
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\loss\loss_for_object_detection.py", line 32, in <module>
    from transformers.image_transforms import center_to_corners_format
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\image_transforms.py", line 47, in <module>
    import tensorflow as tf
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\tensorflow\__init__.py", line 42, in <module>
    from tensorflow.python import tf2 as _tf2
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\tensorflow\python\tf2.py", line 21, in <module>
    from tensorflow.python.platform import _pywrap_tf2
ImportError: DLL load failed while importing _pywrap_tf2: The specified module could not be found.

Cannot import C:\ComfyUI\custom_nodes\ComfyUI-Hunyuan3DWrapper module for custom nodes: DLL load failed while importing _pywrap_tf2: The specified module could not be found.
Traceback (most recent call last):
  File "C:\ComfyUI\nodes.py", line 2124, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "C:\ComfyUI\custom_nodes\ComfyUI-HunyuanVideoWrapper\__init__.py", line 1, in <module>
    from .nodes import NODE_CLASS_MAPPINGS as NODES_CLASS, NODE_DISPLAY_NAME_MAPPINGS as NODES_DISPLAY
  File "C:\ComfyUI\custom_nodes\ComfyUI-HunyuanVideoWrapper\nodes.py", line 11, in <module>
    from .hyvideo.text_encoder import TextEncoder
  File "C:\ComfyUI\custom_nodes\ComfyUI-HunyuanVideoWrapper\hyvideo\text_encoder\__init__.py", line 7, in <module>
    from transformers import CLIPTextModel, CLIPTokenizer, AutoTokenizer, AutoModel, AutoProcessor, CLIPImageProcessor #LlavaForConditionalGeneration
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\utils\import_utils.py", line 2045, in __getattr__
    module = self._get_module(self._class_to_module[name])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\utils\import_utils.py", line 2075, in _get_module
    raise e
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\utils\import_utils.py", line 2073, in _get_module
    return importlib.import_module("." + module_name, self.__name__)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\KRAKEN\AppData\Local\Programs\Python\Python312\Lib\importlib\__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\models\clip\modeling_clip.py", line 27, in <module>
    from ...modeling_utils import ALL_ATTENTION_FUNCTIONS, PreTrainedModel
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\modeling_utils.py", line 73, in <module>
    from .loss.loss_utils import LOSS_MAPPING
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\loss\loss_utils.py", line 21, in <module>
    from .loss_d_fine import DFineForObjectDetectionLoss
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\loss\loss_d_fine.py", line 21, in <module>
    from .loss_for_object_detection import (
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\loss\loss_for_object_detection.py", line 32, in <module>
    from transformers.image_transforms import center_to_corners_format
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\image_transforms.py", line 47, in <module>
    import tensorflow as tf
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\tensorflow\__init__.py", line 42, in <module>
    from tensorflow.python import tf2 as _tf2
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\tensorflow\python\tf2.py", line 21, in <module>
    from tensorflow.python.platform import _pywrap_tf2
ImportError: DLL load failed while importing _pywrap_tf2: The specified module could not be found.

Cannot import C:\ComfyUI\custom_nodes\ComfyUI-HunyuanVideoWrapper module for custom nodes: DLL load failed while importing _pywrap_tf2: The specified module could not be found.
Total VRAM 24563 MB, total RAM 130881 MB
pytorch version: 2.8.0.dev20250617+cu128
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
### Loading: ComfyUI-Impact-Pack (V8.17)
### Loading: ComfyUI-Impact-Subpack (V1.3.3)
[Impact Pack] Wildcards loading done.
[Impact Pack/Subpack] Using folder_paths to determine whitelist path: C:\ComfyUI\user\default\ComfyUI-Impact-Subpack\model-whitelist.txt
[Impact Pack/Subpack] Ensured whitelist directory exists: C:\ComfyUI\user\default\ComfyUI-Impact-Subpack
[Impact Pack/Subpack] Loaded 0 model(s) from whitelist: C:\ComfyUI\user\default\ComfyUI-Impact-Subpack\model-whitelist.txt
[Impact Subpack] ultralytics_bbox: C:\ComfyUI\models\ultralytics\bbox
[Impact Subpack] ultralytics_segm: C:\ComfyUI\models\ultralytics\segm
Onnx runtime not installed, preparing to install ...
Installing onnxruntime-gpu ...
Installing dghs-imgutils[gpu]...
Successfully installed dghs-imgutils[gpu]
Onnx runtime not installed, preparing to install ...
Installing onnxruntime-gpu ...
Traceback (most recent call last):
  File "C:\ComfyUI\nodes.py", line 2124, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "C:\ComfyUI\custom_nodes\comfyui-logicutils\__init__.py", line 1, in <module>
    from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
  File "C:\ComfyUI\custom_nodes\comfyui-logicutils\nodes.py", line 11, in <module>
    from .auxilary import CLASS_MAPPINGS as AuxilaryMapping, CLASS_NAMES as AuxilaryNames
  File "C:\ComfyUI\custom_nodes\comfyui-logicutils\auxilary.py", line 3, in <module>
    from .utils.tagger import get_tags, tagger_keys
  File "C:\ComfyUI\custom_nodes\comfyui-logicutils\utils\tagger.py", line 31, in <module>
    tagger_keys = list(tagger_model_names.keys())
                       ^^^^^^^^^^^^^^^^^^
NameError: name 'tagger_model_names' is not defined

Cannot import C:\ComfyUI\custom_nodes\comfyui-logicutils module for custom nodes: name 'tagger_model_names' is not defined
### Loading: ComfyUI-Manager (V3.33.1)
[ComfyUI-Manager] network_mode: public
### ComfyUI Revision: 3586 [483b3e62] *DETACHED | Released on '2025-06-16'
[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/extension-node-map.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
--------------
 ### Mixlab Nodes: Loaded
ChatGPT.available False
edit_mask.available True
pls check  transformers.__version__>=4.36.0:: AutoProcessor, BlipForConditionalGeneration
## clip_interrogator_model not found: C:\ComfyUI\models\clip_interrogator\Salesforce\blip-image-captioning-base, pls download from https://huggingface.co/Salesforce/blip-image-captioning-base
ClipInterrogator.available False
TextGenerateNode.available False
RembgNode_.available False
ffmpeg could not be found. Using ffmpeg from imageio-ffmpeg.
TripoSR.available
MiniCPMNode.available
Scenedetect.available
FishSpeech.available False
SenseVoice.available False
Whisper.available False
fal-client## OK
FalVideo.available
 --------------
Traceback (most recent call last):
  File "C:\ComfyUI\nodes.py", line 2124, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap_external>", line 1132, in get_code
  File "<frozen importlib._bootstrap_external>", line 1190, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\ComfyUI\\custom_nodes\\comfyui-sageattention\\__init__.py'

Cannot import C:\ComfyUI\custom_nodes\comfyui-sageattention module for custom nodes: [Errno 2] No such file or directory: 'C:\\ComfyUI\\custom_nodes\\comfyui-sageattention\\__init__.py'
Traceback (most recent call last):
  File "C:\ComfyUI\nodes.py", line 2124, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "C:\ComfyUI\custom_nodes\ComfyUI-WanVideoWrapper\__init__.py", line 1, in <module>
    from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
  File "C:\ComfyUI\custom_nodes\ComfyUI-WanVideoWrapper\nodes.py", line 10, in <module>
    from .wanvideo.modules.clip import CLIPModel
  File "C:\ComfyUI\custom_nodes\ComfyUI-WanVideoWrapper\wanvideo\modules\__init__.py", line 1, in <module>
    from .model import WanModel
  File "C:\ComfyUI\custom_nodes\ComfyUI-WanVideoWrapper\wanvideo\modules\model.py", line 7, in <module>
    from diffusers.models.modeling_utils import ModelMixin
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\diffusers\models\modeling_utils.py", line 40, in <module>
    from ..quantizers import DiffusersAutoQuantizer, DiffusersQuantizer
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\diffusers\quantizers\__init__.py", line 15, in <module>
    from .auto import DiffusersAutoQuantizer
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\diffusers\quantizers\auto.py", line 22, in <module>
    from .bitsandbytes import BnB4BitDiffusersQuantizer, BnB8BitDiffusersQuantizer
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\diffusers\quantizers\bitsandbytes\__init__.py", line 2, in <module>
    from .utils import dequantize_and_replace, dequantize_bnb_weight, replace_with_bnb_linear
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\diffusers\quantizers\bitsandbytes\utils.py", line 32, in <module>
    import bitsandbytes as bnb
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\bitsandbytes\__init__.py", line 15, in <module>
    from .nn import modules
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\bitsandbytes\nn\__init__.py", line 21, in <module>
    from .triton_based_modules import (
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\bitsandbytes\nn\triton_based_modules.py", line 6, in <module>
    from bitsandbytes.triton.dequantize_rowwise import dequantize_rowwise
ModuleNotFoundError: No module named 'bitsandbytes.triton'

Cannot import C:\ComfyUI\custom_nodes\ComfyUI-WanVideoWrapper module for custom nodes: No module named 'bitsandbytes.triton'
[C:\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ckpts path: C:\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts
[C:\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using symlinks: False
[C:\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']
Traceback (most recent call last):
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\insightface\__init__.py", line 8, in <module>
    import onnxruntime
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\onnxruntime\__init__.py", line 61, in <module>
    raise import_capi_exception
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\onnxruntime\__init__.py", line 24, in <module>
    from onnxruntime.capi._pybind_state import (
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\onnxruntime\capi\_pybind_state.py", line 32, in <module>
    from .onnxruntime_pybind11_state import *  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: DLL load failed while importing onnxruntime_pybind11_state: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\ComfyUI\nodes.py", line 2124, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "C:\ComfyUI\custom_nodes\pulid_comfyui\__init__.py", line 1, in <module>
    from .pulid import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
  File "C:\ComfyUI\custom_nodes\pulid_comfyui\pulid.py", line 9, in <module>
    from insightface.app import FaceAnalysis
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\insightface\__init__.py", line 10, in <module>
    raise ImportError(
ImportError: Unable to import dependency onnxruntime.

Cannot import C:\ComfyUI\custom_nodes\pulid_comfyui module for custom nodes: Unable to import dependency onnxruntime.

[rgthree-comfy] Loaded 47 fantastic nodes. 🎉

Traceback (most recent call last):
  File "C:\ComfyUI\nodes.py", line 2124, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "C:\ComfyUI\custom_nodes\was-ns\__init__.py", line 1, in <module>
    from .WAS_Node_Suite import NODE_CLASS_MAPPINGS
  File "C:\ComfyUI\custom_nodes\was-ns\WAS_Node_Suite.py", line 2459, in <module>
    from transformers import BlipProcessor, BlipForConditionalGeneration, BlipForQuestionAnswering
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\utils\import_utils.py", line 2045, in __getattr__
    module = self._get_module(self._class_to_module[name])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\utils\import_utils.py", line 2075, in _get_module
    raise e
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\utils\import_utils.py", line 2073, in _get_module
    return importlib.import_module("." + module_name, self.__name__)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\KRAKEN\AppData\Local\Programs\Python\Python312\Lib\importlib\__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\models\blip\processing_blip.py", line 22, in <module>
    from ...processing_utils import ProcessingKwargs, ProcessorMixin, Unpack
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\processing_utils.py", line 37, in <module>
    from .video_utils import VideoInput, load_video
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\video_utils.py", line 26, in <module>
    from .image_transforms import PaddingMode, to_channel_dimension_format
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\transformers\image_transforms.py", line 47, in <module>
    import tensorflow as tf
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\tensorflow\__init__.py", line 42, in <module>
    from tensorflow.python import tf2 as _tf2
  File "C:\Users\KRAKEN\AppData\Roaming\Python\Python312\site-packages\tensorflow\python\tf2.py", line 21, in <module>
    from tensorflow.python.platform import _pywrap_tf2
ImportError: DLL load failed while importing _pywrap_tf2: The specified module could not be found.

Cannot import C:\ComfyUI\custom_nodes\was-ns module for custom nodes: DLL load failed while importing _pywrap_tf2: The specified module could not be found.

Import times for custom nodes:
   0.0 seconds: C:\ComfyUI\custom_nodes\websocket_image_save.py
   0.0 seconds: C:\ComfyUI\custom_nodes\image-resize-comfyui
   0.0 seconds (IMPORT FAILED): C:\ComfyUI\custom_nodes\comfyui-sageattention
   0.0 seconds: C:\ComfyUI\custom_nodes\ComfyLiterals
   0.0 seconds: C:\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus
   0.0 seconds: C:\ComfyUI\custom_nodes\ComfyUI-AutoCropFaces
   0.0 seconds: C:\ComfyUI\custom_nodes\comfy-image-saver
   0.0 seconds: C:\ComfyUI\custom_nodes\comfyui-get-meta
   0.0 seconds: C:\ComfyUI\custom_nodes\comfyui_ultimatesdupscale
   0.0 seconds: C:\ComfyUI\custom_nodes\comfyui-ic-light-native
   0.0 seconds: C:\ComfyUI\custom_nodes\comfyui-ipadapter
   0.0 seconds: C:\ComfyUI\custom_nodes\derfuu_comfyui_moddednodes
   0.0 seconds: C:\ComfyUI\custom_nodes\cg-use-everywhere
   0.0 seconds: C:\ComfyUI\custom_nodes\comfyui-impact-subpack
   0.0 seconds: C:\ComfyUI\custom_nodes\comfyui_essentials
   0.0 seconds: C:\ComfyUI\custom_nodes\ComfyUI-segment-anything-2
   0.0 seconds: C:\ComfyUI\custom_nodes\comfyui-kjnodes
   0.0 seconds: C:\ComfyUI\custom_nodes\comfyui-custom-scripts
   0.0 seconds: C:\ComfyUI\custom_nodes\comfyui-advanced-controlnet
   0.0 seconds: C:\ComfyUI\custom_nodes\comfyui-videohelpersuite
   0.0 seconds: C:\ComfyUI\custom_nodes\comfyui_birefnet_ll
   0.0 seconds (IMPORT FAILED): C:\ComfyUI\custom_nodes\ComfyUI-HunyuanVideoWrapper
   0.0 seconds (IMPORT FAILED): C:\ComfyUI\custom_nodes\pulid_comfyui
   0.0 seconds: C:\ComfyUI\custom_nodes\comfyui-animatediff-evolved
   0.0 seconds: C:\ComfyUI\custom_nodes\comfyui-ic-light
   0.0 seconds: C:\ComfyUI\custom_nodes\comfyui_controlnet_aux
   0.0 seconds (IMPORT FAILED): C:\ComfyUI\custom_nodes\was-ns
   0.1 seconds (IMPORT FAILED): C:\ComfyUI\custom_nodes\ComfyUI-WanVideoWrapper
   0.1 seconds: C:\ComfyUI\custom_nodes\comfyui-impact-pack
   0.1 seconds: C:\ComfyUI\custom_nodes\rgthree-comfy
   0.2 seconds: C:\ComfyUI\custom_nodes\comfyui-advancedliveportrait
   0.5 seconds: C:\ComfyUI\custom_nodes\ComfyUI-Manager
   0.6 seconds: C:\ComfyUI\custom_nodes\ComfyUI-Crystools
   0.7 seconds: C:\ComfyUI\custom_nodes\comfyui-easy-use
   0.7 seconds: C:\ComfyUI\custom_nodes\comfyui-art-venture
   1.2 seconds (IMPORT FAILED): C:\ComfyUI\custom_nodes\comfyui-logicutils
   1.5 seconds (IMPORT FAILED): C:\ComfyUI\custom_nodes\ComfyUI-Hunyuan3DWrapper
   1.5 seconds: C:\ComfyUI\custom_nodes\ComfyUI-Image-Filters
   2.2 seconds: C:\ComfyUI\custom_nodes\comfyui-mixlab-nodes
   2.3 seconds: C:\ComfyUI\custom_nodes\ComfyUI-LivePortraitKJ

Context impl SQLiteImpl.
Will assume non-transactional DDL.
No target revision found.
Starting server

To see the GUI go to: http://127.0.0.1:8188
FETCH ComfyRegistry Data: 5/89
FETCH ComfyRegistry Data: 10/89
FETCH ComfyRegistry Data: 15/89
FETCH ComfyRegistry Data: 20/89
FETCH ComfyRegistry Data: 25/89
FETCH ComfyRegistry Data: 30/89
FETCH ComfyRegistry Data: 35/89
FETCH ComfyRegistry Data: 40/89
FETCH ComfyRegistry Data: 45/89
FETCH ComfyRegistry Data: 50/89
FETCH ComfyRegistry Data: 55/89
FETCH ComfyRegistry Data: 60/89
FETCH ComfyRegistry Data: 65/89
Cannot connect to comfyregistry.
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE]
[ComfyUI-Manager] All startup tasks have been completed. 

Logs


Other

No response

Mango0o0 avatar Jun 23 '25 08:06 Mango0o0

Can you share the workflow? Or just the section of the workflow containing the missing node?

christian-byrne avatar Jun 23 '25 08:06 christian-byrne

Can you share the workflow? Or just the section of the workflow containing the missing node?

Absolutely, this is one of them. I am having issues with all other custom nodes that failed to import, but this one is related to the screengrabs.

250325_WanWrapperKeyframeI2V.json

Mango0o0 avatar Jun 23 '25 09:06 Mango0o0

Same problem with latest version of comfyui

boardmain avatar Jun 23 '25 10:06 boardmain

Oh, so the issue is the nodes are just failing to import.

Can you try updating the nodes that are failing to import? If that doesn't work, try checking the respective GitHub repos for the nodes and their Issues sections.

christian-byrne avatar Jun 23 '25 12:06 christian-byrne

Oh, so the issue is the nodes are just failing to import.

Can you try updating the nodes that are failing to import? If that doesn't work, try checking the respective GitHub repos for the nodes and their Issues sections.

I have definitely tried that! Both updating to the latest release of the nodes, rolling back to a previous version of those nodes... both through ComfyUI Manager and git cloning the repositories.

I have currently installed on another computer a ComfyUI Portable Version and it is now working, just dealing with custom_rasterizer which proves harder to install in the portable version for some reason for me.

I'd love to make it all work in ComfyUI standard though. What else could it be?

Mango0o0 avatar Jun 23 '25 13:06 Mango0o0

This issue cannot be resolved with a simple update.

It appears to be a compatibility issue related to the triton dependency, caused by the combination of torch, bitsandbytes, and other related components.

For now, I recommend removing the bitsandbytes dependency via pip.

If that doesn't work, it's also worth trying to downgrade and reinstall torch and triton to versions that are compatible with Windows.

C:\Users\KRAKEN\AppData\Local\Programs\Python\Python312\python.exe -m pip uninstall bitsandbytes

ltdrdata avatar Jun 23 '25 23:06 ltdrdata

This issue cannot be resolved with a simple update.

It appears to be a compatibility issue related to the triton dependency, caused by the combination of torch, bitsandbytes, and other related components.

For now, I recommend removing the bitsandbytes dependency via pip.

If that doesn't work, it's also worth trying to downgrade and reinstall torch and triton to versions that are compatible with Windows.

C:\Users\KRAKEN\AppData\Local\Programs\Python\Python312\python.exe -m pip uninstall bitsandbytes

Thank you for your reply. I have tried this and it bore no results. It still does not recognise the nodes mentioned above.

Mango0o0 avatar Jun 24 '25 08:06 Mango0o0

This issue cannot be resolved with a simple update.

It appears to be a compatibility issue related to the triton dependency, caused by the combination of torch, bitsandbytes, and other related components.

For now, I recommend removing the bitsandbytes dependency via pip.

If that doesn't work, it's also worth trying to downgrade and reinstall torch and triton to versions that are compatible with Windows.

C:\Users\KRAKEN\AppData\Local\Programs\Python\Python312\python.exe -m pip uninstall bitsandbytes

Thank you for your reply. I have tried this and it bore no results. It still does not recognise the nodes mentioned above.

What is the new startup log?

ltdrdata avatar Jun 24 '25 08:06 ltdrdata

More clues-

Fresh install Comfy windows portable 0.3.39, no triton, no sageattention. Copied only WanVideo Wrapper nodes into custom_nodes folder- get error "No module named 'cv2' " when loading. Installed Video Helper Suite nodes- WanVideo Wrapper nodes now load. The Wan wrapper node import issue may be a result of a new conflict in the Videohelper nodes.

This should also work with triton and sage as I was running this a week or two ago.

Krishicall avatar Jun 28 '25 13:06 Krishicall

same problem, I cannot install ComfyUI_WanVideoWrapper

momoGBG avatar Jun 30 '25 10:06 momoGBG

I suffer from the same problem. v0.3.43 in Fedora 42:

FETCH ComfyRegistry Data: 10/90
Popen(['git', 'describe', '--tags'], cwd=/home/renich/src/ComfyUI, stdin=None, shell=False, universal_newlines=False)
FETCH DATA from: /home/renich/src/ComfyUI/user/default/ComfyUI-Manager/cache/1514988643_custom-node-list.json [DONE]
FETCH DATA from: /home/renich/src/ComfyUI/user/default/ComfyUI-Manager/cache/746607195_github-stats.json [DONE]
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extras.json [DONE]
FETCH DATA from: /home/renich/src/ComfyUI/user/default/ComfyUI-Manager/cache/1742899825_extension-node-map.json [DONE]
FETCH DATA from: /home/renich/src/ComfyUI/user/default/ComfyUI-Manager/cache/1742899825_extension-node-map.json [DONE]
FETCH ComfyRegistry Data: 15/90
FETCH ComfyRegistry Data: 20/90
FETCH ComfyRegistry Data: 25/90
Popen(['git', 'describe', '--tags'], cwd=/home/renich/src/ComfyUI, stdin=None, shell=False, universal_newlines=False)
FETCH ComfyRegistry Data: 30/90
FETCH DATA from: /home/renich/src/ComfyUI/user/default/ComfyUI-Manager/cache/1514988643_custom-node-list.json [DONE]
FETCH DATA from: /home/renich/src/ComfyUI/user/default/ComfyUI-Manager/cache/746607195_github-stats.json [DONE]
FETCH DATA from: /home/renich/src/ComfyUI/user/default/ComfyUI-Manager/cache/832903789_extras.json [DONE]
FETCH DATA from: /home/renich/src/ComfyUI/user/default/ComfyUI-Manager/cache/1742899825_extension-node-map.json [DONE]
FETCH DATA from: /home/renich/src/ComfyUI/user/default/ComfyUI-Manager/cache/1742899825_extension-node-map.json [DONE]
FETCH ComfyRegistry Data: 35/90
FETCH ComfyRegistry Data: 40/90
FETCH ComfyRegistry Data: 45/90
FETCH ComfyRegistry Data: 50/90
FETCH ComfyRegistry Data: 55/90
FETCH ComfyRegistry Data: 60/90
FETCH ComfyRegistry Data: 65/90
FETCH ComfyRegistry Data: 70/90
FETCH ComfyRegistry Data: 75/90
FETCH ComfyRegistry Data: 80/90
FETCH ComfyRegistry Data: 85/90
FETCH ComfyRegistry Data: 90/90
FETCH ComfyRegistry Data [DONE]
[ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE]
[ComfyUI-Manager] All startup tasks have been completed.
[ComfyUI-Manager] The ComfyRegistry cache update is still in progress, so an outdated cache is being used.
FETCH DATA from: /home/renich/src/ComfyUI/user/default/ComfyUI-Manager/cache/1514988643_custom-node-list.json [DONE]
FETCH DATA from: /home/renich/src/ComfyUI/user/default/ComfyUI-Manager/cache/746607195_github-stats.json [DONE]
FETCH DATA from: /home/renich/src/ComfyUI/user/default/ComfyUI-Manager/cache/832903789_extras.json [DONE]
FETCH DATA from: /home/renich/src/ComfyUI/user/default/ComfyUI-Manager/cache/1742899825_extension-node-map.json [DONE]
FETCH DATA from: /home/renich/src/ComfyUI/user/default/ComfyUI-Manager/cache/1742899825_extension-node-map.json [DONE]
[ComfyUI-Manager] The ComfyRegistry cache update is still in progress, so an outdated cache is being used.
FETCH DATA from: /home/renich/src/ComfyUI/user/default/ComfyUI-Manager/cache/1514988643_custom-node-list.json [DONE]
FETCH DATA from: /home/renich/src/ComfyUI/user/default/ComfyUI-Manager/cache/746607195_github-stats.json [DONE]
FETCH DATA from: /home/renich/src/ComfyUI/user/default/ComfyUI-Manager/cache/832903789_extras.json [DONE]
FETCH DATA from: /home/renich/src/ComfyUI/user/default/ComfyUI-Manager/cache/1742899825_extension-node-map.json [DONE]
FETCH DATA from: /home/renich/src/ComfyUI/user/default/ComfyUI-Manager/cache/1742899825_extension-node-map.json [DONE]

It seems to be a Manager cache problem.

renich avatar Jul 02 '25 17:07 renich

More clues-

Fresh install Comfy windows portable 0.3.39, no triton, no sageattention. Copied only WanVideo Wrapper nodes into custom_nodes folder- get error "No module named 'cv2' " when loading. Installed Video Helper Suite nodes- WanVideo Wrapper nodes now load. The Wan wrapper node import issue may be a result of a new conflict in the Videohelper nodes.

This should also work with triton and sage as I was running this a week or two ago.

Update: Installed sage on 0.3.39, python 312, wrapper works with no additional nodes installed. Mass updated all missing nodes (a lot), wrapper breaks again. Reinstalled from scratch with, 2.8.0.dev20250627+cu128, new sage 2.2, no additional nodes, wrapper works. Updated comfy to latest 0.3.43, wrapper still works. Slowly reinstalled massive node list a few at a time, all nodes installed successfully. Wrapper still works.

Conclusion, could not recreate the wrapper import issue I was experiencing earlier with a few updates implemented. Perhaps others with this issue can fix it this way.

Krishicall avatar Jul 04 '25 04:07 Krishicall

Had the same issue but resolved it by updating peft, maybe this helps someone

pip install --upgrade peft or C:\comfyui\python_embeded\python.exe -m pip install --upgrade peft

geneticeye avatar Jul 05 '25 16:07 geneticeye

This issue is being marked stale because it has not had any activity for 30 days. Reply below within 7 days if your issue still isn't solved, and it will be left open. Otherwise, the issue will be closed automatically.

github-actions[bot] avatar Aug 05 '25 11:08 github-actions[bot]