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

Unable to install on Mac M1(Sonoma 14.3.1) #204

Open
MaheshRathod4 opened this issue Aug 23, 2024 · 4 comments
Open

Unable to install on Mac M1(Sonoma 14.3.1) #204

MaheshRathod4 opened this issue Aug 23, 2024 · 4 comments

Comments

@MaheshRathod4
Copy link

Screenshot 2024-08-23 at 6 47 57 PM

@marcprux
Copy link
Contributor

Is this an older Homebrew installation held over from a previous Intel mac? The error about "not built for the x86_64 CPU architecture" makes me suspect that even though you are on an M1, the Homebrew installation is an Intel one.

which brew should return /opt/homebrew/bin/brew if it is the M1/ARM version. If not, re-installing from https://brew.sh should fix the problem, but let us know if the issue persists.

@MaheshRathod4
Copy link
Author

![Screenshot 2024-08-27 at 11 51 39 AM](https://github.com@marcprux user-attachments/assets/e5edad61-785d-4535-9271-440dfafa061c)

Screenshot 2024-08-27 at 11 51 42 AM

@marcprux I have installed tried both the commands brew update and install commands but still facing same issue

@MaheshRathod4
Copy link
Author

Screenshot 2024-08-27 at 11 55 38 AM

@marcprux
Copy link
Contributor

Very odd. You are using the M1 version of Homebrew, but it appears to be trying to install the x86 version of a dependency.

Can you try completely uninstalling Homebrew from the machine as per: https://github.com/homebrew/install#uninstall-homebrew

Once it has been removed, re-install it from scratch as per: https://github.com/homebrew/install#install-homebrew-on-macos-or-linux

And finally, try installing Skip again: brew install skiptools/skip/skip

Let us know if you still get the error…

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

No branches or pull requests

3 participants
@marcprux @MaheshRathod4 and others