ContextLab / hypertools

A Python toolbox for gaining geometric insights into high-dimensional data
http://hypertools.readthedocs.io/en/latest/
MIT License
1.83k stars 160 forks source link

arm64/Apple Silicon compatibility #253

Closed paxtonfitzpatrick closed 2 years ago

paxtonfitzpatrick commented 2 years ago

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:

Ultimately, 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.

paxtonfitzpatrick commented 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.