mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-11-04 23:37:31 +00:00
[GH-ISSUE #937] Is there a way for all nodes to share the most commonly used dependencies while independently using less popular dependencies? #411
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#411
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 @planb788 on GitHub (Aug 6, 2024).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/937
One common issue we often encounter is that when installing a new plugin, there may be conflicts between the dependency versions it specifies and the existing dependencies on the local system.
Is there a way to create a virtual environment where all plugins share the same common dependencies (such as the torch library), and then for each plugin's dependencies that are not in the common dependencies, create an additional separate virtual environment, so that each plugin can enjoy its own independent dependencies plus the shared common dependencies?
This approach maintains the independence of the environment while also reducing redundant dependencies to some extent.
@ltdrdata commented on GitHub (Aug 6, 2024):
While it's possible to separate environments using venv, you can only run one environment at a time, so you can't use two custom nodes that cause conflicts simultaneously.
@planb788 commented on GitHub (Aug 7, 2024):
Indeed, that's the case. So currently, if there are conflicting nodes, can we only choose one of the two? It seems like this might be an unsolvable problem.