Skip to content

Issue with installing jax/jaxlib for Mac OSX (Sonoma v14.5) with M1 chip #22289

Answered by dfm
hongzhouye asked this question in Q&A
Discussion options

You must be logged in to vote

The error message is correct here! As you can see from the installation logs, all of the downloaded wheels have the x86_64 suffix in their filenames. That means that you're running Python in x86 emulator mode on your machine. To use JAX, you'll need to install an ARM build of Python, and as an added benefit all of your Python code will run faster!

I usually install Python using the Miniforge installer (make sure you choose the arm64 version!), but there are other options.

Replies: 1 comment 3 replies

Comment options

dfm
Jul 5, 2024
Collaborator

You must be logged in to vote
3 replies
@hongzhouye
Comment options

@hongzhouye
Comment options

@hawkinsp
Comment options

Answer selected by hongzhouye
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants