Closed paxtonfitzpatrick closed 2 years ago
As of llvmlite v0.38.1 and numba v0.55.2, both packages now support Apple Silicon! 🎉
MacOSX ARM64 binary wheels are now available on PyPI for Python 3.8+ & MacOS 10.14+ (llvmlite, numba).
Additionally, numba v0.55.0 added support for Python 3.10, which means hypertools v0.8.0 now supports Python 3.10 as well! 🎉
I've confirmed pip install hypertools
succeeds on my M1 Mac (MacOS 12.1) for Python 3.8, 3.9, and 3.10. Closing this issue as resolved.
Installing hypertools currently fails on Apple Silicon Macs (and arm64 architectures in general). There are a few reasons for this I've figured out so far:
scikit-learn>=0.19.1,!=0.22,<0.24
<0.24
pinned because the layout of thesklearn.decomposition
subpackage changed in v0.24, which was causing the example data (pre-builthypertools.DataGeometry
objects saved withdeepdish
) to fail to load because they were created with an older scikit-learn version. We should really either update those objects to a different format or recreate them altogether.sdist
. Using--no-binary :all:
in place of--no-use-pep517
should theoretically also work, but was hanging for me on MacOS.pip install hypertools
. Note: if your numpy version changes from the one used to build scikit-learn, the package may fail to loadsdist
, which will fail because llvmlite doesn't include a source distribution for LLVMUltimately, we really should package and release hypertools on conda-forge. That would solve both these issues, as well as the issue with MacOS that requires installing
hdf5
separately via homebrew.If I come across any more issues related to this, I'll track those here as well.