Native wheels for the macos/arm64 platform (Apple Silicon M1 hardware)
See original GitHub issueMaking this happen depends on the resolution of the following upstream issues:
- numpy/numpy#17807 (building numpy in native mode on M1)
- scipy/scipy#13364 (segfault on scipy.integrated on M1 with openblas and gfortran from homebrew)
- public release of scipy with a wheel for the
macos/arm64
platform - joerick/cibuildwheel#473 (comment) discussion on how to add support for building M1 native wheels for Python packages on public CI (e.g. github actions, azure pipelines and co).
- update the Wheel build github actions workflow in the scikit-learn repo to enable building for the new platform using cross-compilation on intel macos executors.
Note: macos/arm64 is also known as macos/aarch64.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:55
- Comments:34 (6 by maintainers)
Top Results From Across the Web
Why Python native on M1 Max is gre… - Apple Developer
I just got my new MacBook Pro with M1 Max chip and am setting up Python. I've tried several combinational settings to test...
Read more >Dan Keeley on Twitter: "Very handy time, anyone trying to get scikit ...
Very handy time, anyone trying to get scikit-learn working on an M1 macbook, ... Native wheels for the macos/arm64 platform (Apple Silicon M1...
Read more >Installing scipy and scikit-learn on apple m1 - Stack Overflow
Pip downloaded the source from Pipy, then built the wheel targeting MacOS X 12.0, and arm64 (apple silicon): scikit_learn-1.0.1-cp38-cp38- ...
Read more >How we streamlined Apple M1 Support with self-hosted ...
This would allow early adopters of Apple hardware based on the ... who owned an Apple Silicon machine, manually building release wheels.
Read more >A Python Data Scientist's Guide to the Apple Silicon Transition
There are currently three options for running Python on the M1: Use pyenv to create environments and pip to install native macOS ARM64...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This lead me on the right path, however I had to install nightly scipy instead. Afterwards I was able to install scikit-learn 1.0.0 without a problem:
Hi All. Is there any update on this issue?