frequent-errors
pkg_resources Missing in ComfyUI
How to repair 92 telemetry events caused by a missing pkg_resources import, which usually points to a broken setuptools baseline.
Telemetry snapshot queried on April 17, 2026: 92 events across 9 installs for comfyui_fatal_error_detected.
What telemetry shows
- A missing
pkg_resourcesimport usually means the Python packaging layer is damaged. - This is more structural than a one-off optional backend warning.
What users usually notice
- Several plugins fail with package discovery or entry-point errors.
- Logs say
No module named pkg_resources.
What to do next
- Repair
pipandsetuptoolsin the same ComfyUI environment. - Restart and retest the plugins that failed.
- If the environment is still inconsistent, rebuild it instead of stacking more package mutations.
Escalate when
- Fresh environments still miss
pkg_resourcesafter the baseline install. - Repairing
setuptoolstriggers a wider dependency conflict chain.
Wonderful Launcher 文件