Free | No tracking | Every fact with a source|German and English

Error / Installation

Custom Node: IMPORT FAILED

A custom node could not be loaded at startup, so its nodes are missing in ComfyUI.

The message

Cannot import C:\…\ComfyUI\custom_nodes\ComfyUI-XYZ module for custom nodes: … (IMPORT FAILED): C:\…\custom_nodes\ComfyUI-XYZ

Affects: ComfyUI

Why is this happening?

At startup, ComfyUI loads all folders in custom_nodes. If that fails, the list “Import times for custom nodes” shows the addition “(IMPORT FAILED)”. Common reasons are missing Python packages, version conflicts between nodes, a node that no longer matches the current ComfyUI version, or an interrupted installation.

How to fix it

  1. Scroll up in the console window to the line “Cannot import … module for custom nodes:”. Right after that is the actual reason (for example, No module named …).
  2. If it says No module named, follow the entry “No module named …” and install the missing packages.
  3. Update the node in ComfyUI Manager and restart. Often the issue is fixed in a newer version.
  4. If that does not help, look for an alternative in the ComfyUI Registry or report the error on the node’s GitHub page (with ComfyUI version, log, and operating system).
  5. If you do not need the node, disable it in the Manager or move the folder out of custom_nodes and restart.
  6. If ComfyUI no longer starts at all, test without all custom nodes. Portable: .\python_embeded\python.exe -s ComfyUI\main.py --disable-all-custom-nodes. Manual: python main.py --disable-all-custom-nodes.

Set up from scratch again

If it still doesn’t work after that, a fresh setup step by step often helps:

Terms for this

Similar errors

Sources

Checked on Oct 21, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.