Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Yaphet2015 opened this issue Nov 29, 2024 · 3 comments · Fixed by #460
Open

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

Yaphet2015 opened this issue Nov 29, 2024 · 3 comments · Fixed by #460

Comments

@Yaphet2015
Copy link

Yaphet2015 commented Nov 29, 2024

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

@Yaphet2015 Yaphet2015 changed the title [Bug]: Cant install successfullly on MacBook M1: the default interactive shell is now zsh [Bug]: Cant install on MacBook M1: the default interactive shell is now zsh Nov 29, 2024
@robinjhuang
Copy link
Member

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?

@arkalon76
Copy link

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

@dong4j
Copy link

dong4j commented 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants