-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[Modular CLI]: Mac M1 homebrew installation fails with "The arm64 architecture is required for this software" #1078
Comments
Hi @1R053 this is due to running your terminal with Rosetta which emulates x86, to fix: On whatever terminal you're using, right click and press |
@jackos thanks for the hint. The interesting thing is that all my terminal apps (default and iterm) have this unchecked, but I still get the error, i.e.
my conda environment also has no X86 specific settings. |
My Terminal still throws this error, so I've updated this issue to reflect |
Thanks @inspiredlabs I'll keep this ticket open to track it, looks like it might be a common problem, could I please get yours and @1R053 output of: uname -a You can take out your personal details if you like, and also:
Again can take out serial number and everything below that |
After seeing similar issue on Discord it looks like you may have installed intel homebrew version, can you try uninstalling homebrew: And then installing again from the same page |
yep, seems that's the case:
|
I had the same issue today and uninstalling/re-installing homebrew did indeed fix it |
Mojo installation via Homebrew reinstallation:
It works! 🔥 |
not sure, when it is gonna hit me later... but I installed the arm brew version in addition to the intel one for now as I have quite a few things to migrate... which also worked in case someone else wants to try
as long as the intel version is still installed and masking the arm version in the path you can call the arm brew version directly, and install modular
that should then also land in the /opt/homebrew/bin folder, which is now in the path. You still need to authorize it with "modular auth yourtokenhere" as on your download page then continue as in the docs, e.g.
|
Issue description
I try to install the modular CLI as described in the blog:
https://www.modular.com/blog/mojo-is-now-available-on-mac
However, it fails with "The arm64 architecture is required for this software."
Steps to reproduce
after running
I get
Version Info
The text was updated successfully, but these errors were encountered: