[GH-ISSUE #1592] [Feature Request]: How to change the script setting up python environment when launching the UI? #470

Closed
opened 2026-10-31 22:13:23 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @zhaoyi0113 on GitHub (Feb 6, 2026).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/1592

Prerequisites

  • I have searched the existing issues and checked the recent builds/commits
  • I have read the documentation and this feature is not already available
  • This is a single feature request (not multiple features combined)

Problem Statement

When I lunch ComfyUI desktop on Mac M1 laptop, it fails to run the command /Applications/ComfyUI.app/Contents/Resources/uv/macos/uv "pip" "install" "--pre" "torch" "torchvision" "torchaudio" "--index-url" "https://download.pytorch.org/whl/nightly/cpu" therefore the app quit.

I have tried run the command manually which also fails because of TLS issue. I am able to run the command by appending a flag --native-tls. Is there a way for me to update the launch script to let the desktop UI uses this tls flag?

Proposed Solution

Add --native-tls flag on lunch script.

Potential workflow

  1. Go to ....
  2. Press ....
  3. ...

Impact Level

Critical (Blocking my work)

Alternatives Considered

No response

Additional information

No response

┆Issue is synchronized with this Notion page by Unito

Originally created by @zhaoyi0113 on GitHub (Feb 6, 2026). Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/1592 ### Prerequisites - [x] I have searched the existing issues and checked the recent builds/commits - [x] I have read the documentation and this feature is not already available - [x] This is a single feature request (not multiple features combined) ### Problem Statement When I lunch ComfyUI desktop on Mac M1 laptop, it fails to run the command `/Applications/ComfyUI.app/Contents/Resources/uv/macos/uv "pip" "install" "--pre" "torch" "torchvision" "torchaudio" "--index-url" "https://download.pytorch.org/whl/nightly/cpu"` therefore the app quit. I have tried run the command manually which also fails because of TLS issue. I am able to run the command by appending a flag `--native-tls`. Is there a way for me to update the launch script to let the desktop UI uses this tls flag? ### Proposed Solution Add `--native-tls` flag on lunch script. ### Potential workflow 1. Go to .... 2. Press .... 3. ... ### Impact Level Critical (Blocking my work) ### Alternatives Considered _No response_ ### Additional information _No response_ ┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-1592-Feature-Request-How-to-change-the-script-setting-up-python-environment-when-launchi-2ff6d73d36508180a137fca9105d30b9) by [Unito](https://www.unito.io)
bsakaguchi 2026-10-31 22:13:23 +00:00
Author
Owner

@dosubot[bot] commented on GitHub (May 8, 2026):

Hi, @zhaoyi0113. I’m Dosu, and I’m helping the desktop team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported a TLS error when launching ComfyUI on a Mac M1 during the pip install step.
  • You found a workaround by adding a --native-tls flag to the launch script.
  • You requested an automatic inclusion of this flag in the launch script to prevent unexpected quitting.
  • This issue currently blocks usage on Mac M1 systems for you.
  • No further updates or comments have been made since your report.

Next Steps:

  • Please let us know if this issue is still relevant with the latest version of the desktop app by commenting here.
  • If we don’t hear back within 7 days, this issue will be automatically closed.

Thank you for your understanding and contribution!

<!-- gh-comment-id:4407884955 --> @dosubot[bot] commented on GitHub (May 8, 2026): Hi, @zhaoyi0113. I’m [Dosu](https://dosu.dev), and I’m helping the desktop team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported a TLS error when launching ComfyUI on a Mac M1 during the pip install step. - You found a workaround by adding a `--native-tls` flag to the launch script. - You requested an automatic inclusion of this flag in the launch script to prevent unexpected quitting. - This issue currently blocks usage on Mac M1 systems for you. - No further updates or comments have been made since your report. **Next Steps:** - Please let us know if this issue is still relevant with the latest version of the desktop app by commenting here. - If we don’t hear back within 7 days, this issue will be automatically closed. Thank you for your understanding and contribution!
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/desktop#470
No description provided.