[GH-ISSUE #929] [Feature request] Uninstall PIP packages #408

Open
opened 2026-10-27 21:17:13 +00:00 by bsakaguchi · 4 comments
Owner

Originally created by @Maslino on GitHub (Aug 5, 2024).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/929

Currently there is an experiment feature naming "Install PIP packages". "Uninstall PIP packages" feature is needed too. Possible usage case is:

ComfyUI is deployed in the cloud and user has no access to execute command. If there is some python package confilict such as opencv, user has no way to fix the confilict. So "Uninstall PIP packages" feature allows user to uninstall conflicted packages and reinstall the right one.

Originally created by @Maslino on GitHub (Aug 5, 2024). Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/929 Currently there is an experiment feature naming "Install PIP packages". "Uninstall PIP packages" feature is needed too. Possible usage case is: ComfyUI is deployed in the cloud and user has no access to execute command. If there is some python package confilict such as opencv, user has no way to fix the confilict. So "Uninstall PIP packages" feature allows user to uninstall conflicted packages and reinstall the right one.
Author
Owner

@arc1024 commented on GitHub (Aug 7, 2024):

Lock PIP packages Which Avoids important package like pytorch being upgraded automatically is also needed.

<!-- gh-comment-id:2273051399 --> @arc1024 commented on GitHub (Aug 7, 2024): Lock PIP packages Which Avoids important package like pytorch being upgraded automatically is also needed.
Author
Owner

@hben35096 commented on GitHub (Aug 7, 2024):

Lock PIP packages Which Avoids important package like pytorch being upgraded automatically is also needed.

Especially for xformers, if the version is not chosen appropriately, it will alter the entire PyTorch environment.

<!-- gh-comment-id:2273425805 --> @hben35096 commented on GitHub (Aug 7, 2024): > Lock PIP packages Which Avoids important package like pytorch being upgraded automatically is also needed. Especially for xformers, if the version is not chosen appropriately, it will alter the entire PyTorch environment.
Author
Owner

@hben35096 commented on GitHub (Aug 7, 2024):

PixPin_2024-08-07_21-10-26
I am working on this series of functions, and the advantage of having them as nodes is that you can save them as a workflow, which allows for automatic installation next time.

<!-- gh-comment-id:2273443222 --> @hben35096 commented on GitHub (Aug 7, 2024): ![PixPin_2024-08-07_21-10-26](https://github.com/user-attachments/assets/5e5b1b44-a989-4bc6-8e4b-e8b491c442c4) I am working on this series of functions, and the advantage of having them as nodes is that you can save them as a workflow, which allows for automatic installation next time.
Author
Owner

@ltdrdata commented on GitHub (Aug 7, 2024):

Lock PIP packages Which Avoids important package like pytorch being upgraded automatically is also needed.

While downgrades are already blocked for the basic dependencies of ComfyUI core, it seems it would be good to block not only downgrades but also upgrades for packages like torch.

<!-- gh-comment-id:2273517482 --> @ltdrdata commented on GitHub (Aug 7, 2024): > Lock PIP packages Which Avoids important package like pytorch being upgraded automatically is also needed. While downgrades are already blocked for the basic dependencies of ComfyUI core, it seems it would be good to block not only downgrades but also upgrades for packages like torch.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#408
No description provided.