[GH-ISSUE #398] [Bug]: Cant install on MacBook M1: the default interactive shell is now zsh #97

Closed
opened 2026-10-31 22:08:44 +00:00 by bsakaguchi · 5 comments
Owner

Originally created by @Yaphet2015 on GitHub (Nov 29, 2024).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/398

App Version

ComfyUI 0.3.18 - arm64.dmg

Expected Behavior

install on my macbook m1 successfully

Actual Behavior

image

it stucks here.
And I cant input anything

Steps to Reproduce

install ComfyUI 0.3.18 - arm64.dmg on Macbook M1, MacOS 15.1

P.S. when I ran chsh -s /bin/zsh in my terminal , I got chsh: no changes made and nothing happened.

Debug Logs

cant open

Browser Logs

cant open

Setting JSON

cant open

Other

No response

┆Issue is synchronized with this Notion page by Unito

Originally created by @Yaphet2015 on GitHub (Nov 29, 2024). Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/398 ### App Version ComfyUI 0.3.18 - arm64.dmg ### Expected Behavior install on my macbook m1 successfully ### Actual Behavior <img width="932" alt="image" src="https://github.com/user-attachments/assets/418754f2-76ce-40fc-b09d-f7bc71939d2c"> it stucks here. And I cant input anything ### Steps to Reproduce install ComfyUI 0.3.18 - arm64.dmg on Macbook M1, MacOS 15.1 P.S. when I ran `chsh -s /bin/zsh` in my terminal , I got `chsh: no changes made` and nothing happened. ### Debug Logs ```powershell cant open ``` ### Browser Logs cant open ### Setting JSON cant open ### Other _No response_ ┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-398-Bug-Cant-install-on-MacBook-M1-the-default-interactive-shell-is-now-zsh-1616d73d3650811692c9d76156b55cd1) by [Unito](https://www.unito.io)
Author
Owner

@robinjhuang commented on GitHub (Nov 29, 2024):

Hey thanks for reporting this. We've seen some reports of this for mac only. If you run

/Applications/ComfyUI.app/Contents/Resources/uv/macos/uv venv --python 3.12.4

in your terminal, does it do anything?

The terminal when it's shows "Setting up Python environment..." is not interactive. Which terminal did you type chsh -s /bin/zsh into?

<!-- gh-comment-id:2508556102 --> @robinjhuang commented on GitHub (Nov 29, 2024): Hey thanks for reporting this. We've seen some reports of this for mac only. If you run ``` /Applications/ComfyUI.app/Contents/Resources/uv/macos/uv venv --python 3.12.4 ``` in your terminal, does it do anything? The terminal when it's shows "Setting up Python environment..." is not interactive. Which terminal did you type `chsh -s /bin/zsh` into?
Author
Owner

@arkalon76 commented on GitHub (Dec 2, 2024):

Screenshot 2024-12-02 at 16 11 16

I have a similar issue, no error message, just stuck, but mine is most likely related to me installing on an external drive that is removed. Uninstall does not seem to resolve it, however, I might not be removing all critical parts.

Running the command above results in:
➜ ~ /Applications/ComfyUI.app/Contents/Resources/uv/macos/uv venv --python 3.12.4 Using CPython 3.12.4 Creating virtual environment at: .venv Activate with: source .venv/bin/activate

<!-- gh-comment-id:2511988744 --> @arkalon76 commented on GitHub (Dec 2, 2024): <img width="1348" alt="Screenshot 2024-12-02 at 16 11 16" src="https://github.com/user-attachments/assets/26af7d5f-ca0d-4c9a-8fda-35fd7fe6ed17"> I have a similar issue, no error message, just stuck, but mine is most likely related to me installing on an external drive that is removed. Uninstall does not seem to resolve it, however, I might not be removing all critical parts. Running the command above results in: `➜ ~ /Applications/ComfyUI.app/Contents/Resources/uv/macos/uv venv --python 3.12.4 Using CPython 3.12.4 Creating virtual environment at: .venv Activate with: source .venv/bin/activate`
Author
Owner

@dong4j commented on GitHub (Dec 12, 2024):

I encountered the same issue, with the latest version being 0.3.30.
I found that bash-3.2$ is the bash version of my root user, which means will comfyui-desktop use the root user's python environment?
But the problem is that I have already set zsh as the default shell, and when starting comfyui-desktop, it used bash instead, resulting in the above warning, and then nothing happened.

I executed /Applications/ComfyUI.app/Contents/Resources/uv/macos/uv venv --python 3.12.4 under the root bash environment:

bash-3.2# /Applications/ComfyUI.app/Contents/Resources/uv/macos/uv venv --python 3.12.4
Using CPython 3.12.4
Creating virtual environment at: .venv
Activate with: source .venv/bin/activate

It seems there are no problem. I see that this issue has been closed, but it's still present in the latest version, I don't know which version will fix this problem?

<!-- gh-comment-id:2539612282 --> @dong4j commented on GitHub (Dec 12, 2024): I encountered the same issue, with the latest version being 0.3.30. I found that `bash-3.2$` is the bash version of my root user, which means will comfyui-desktop use the root user's python environment? But the problem is that I have already set zsh as the default shell, and when starting comfyui-desktop, it used bash instead, resulting in the above warning, and then nothing happened. I executed `/Applications/ComfyUI.app/Contents/Resources/uv/macos/uv venv --python 3.12.4` under the root bash environment: ```bash bash-3.2# /Applications/ComfyUI.app/Contents/Resources/uv/macos/uv venv --python 3.12.4 Using CPython 3.12.4 Creating virtual environment at: .venv Activate with: source .venv/bin/activate ``` It seems there are no problem. I see that this issue has been closed, but it's still present in the latest version, I don't know which version will fix this problem?
Author
Owner

@robinjhuang commented on GitHub (Dec 27, 2024):

We updated the default shell on mac to be zsh now, and also added some bug fixes for uv python install that was freezing on some setups. Can you try again?

<!-- gh-comment-id:2563187684 --> @robinjhuang commented on GitHub (Dec 27, 2024): We updated the default shell on mac to be zsh now, and also added some bug fixes for `uv python install` that was freezing on some setups. Can you try again?
Author
Owner

@Yaphet2015 commented on GitHub (Dec 28, 2024):

I am glad to report that the local installation was successful.

<!-- gh-comment-id:2564275652 --> @Yaphet2015 commented on GitHub (Dec 28, 2024): I am glad to report that the local installation was successful.
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#97
No description provided.