Skip to content

Mac M1 Mach-o, but wrong architecture #9561

Discussion options

You must be logged in to vote

As an update, I think our pypi wheel releases were part of the problem here. There was a bug in our release process that led to macos x86_64 wheels for python 3.10 being named universal2 instead of x86_64. pip on an M1 would happily install the universal2 wheel but then it could only run correctly with arch -x86_64 python and would be incompatible with any installed arm64 wheels.

We've replaced the incorrect universal2 wheels with x86_64 wheels for macos python 3.10 on pypi, so now when you install spacy and its dependencies it should build everything from source for arm64 in a compatible way.

Edited to add: you may need delete the universal2 wheels from your pip cache or add --no-cache-dir

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@adrianeboyd
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by adrianeboyd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
osx Issues related to macOS / OSX plat / m1 Apple M1 architecture support
3 participants