mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-11-05 07:47:25 +00:00
[GH-ISSUE #536] No module named 'distutils' error can be fixed with pip install distutils #251
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#251
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 @Wraithnaut on GitHub (Apr 2, 2024).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/536
Manager wouldn't import for me yesterday with the message
No module named 'distutils'. Not sure how this happened but updating pip might have broke something in my venv, though a fresh venv also had the same problem.pip install distutilswas enough to fix the issue however.I've included some log information here for future reference below in case someone else experiences this and comes searching for it.
Current version information after the fix:
Prior error log excerpts from before the fix, presumably with ComfyUI-Manager (V2.11) or earlier:
@ltdrdata commented on GitHub (Apr 2, 2024):
distutilsshould be included by default since it's part of the standard library. It seems to be an issue that arises in some special environments.anyway this is fixed.
@ltdrdata commented on GitHub (Apr 3, 2024):
FYI, it has been identified that pip installation of
distutilsdoes not work in some environments, so the structure has been changed.