Not compatible with M1 Mac with bumpy ver 1.21 ??
See original GitHub issueHI, I tried to run UMAP on M1 Mac on numpy version 1.21, however one of the dependencies (numba requires 1.20 version of numpy)
any suggestions ?
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/var/folders/tm/9klk1nzn2lz690wvdfb85s_00000gn/T/ipykernel_31208/469094592.py in <module>
----> 1 import umap
2 reducer = umap.UMAP(n_neighbors=20,n_components=3,verbose=True)
3 X_transformed =reducer.fit_transform(X)
4 X_transformed.shape
~/miniforge3/envs/tensorflow/lib/python3.9/site-packages/umap/__init__.py in <module>
1 from warnings import warn, catch_warnings, simplefilter
----> 2 from .umap_ import UMAP
3
4 try:
5 with catch_warnings():
~/miniforge3/envs/tensorflow/lib/python3.9/site-packages/umap/umap_.py in <module>
26 from scipy.sparse import tril as sparse_tril, triu as sparse_triu
27 import scipy.sparse.csgraph
---> 28 import numba
29
30 import umap.distances as dist
~/miniforge3/envs/tensorflow/lib/python3.9/site-packages/numba/__init__.py in <module>
196
197 _ensure_llvm()
--> 198 _ensure_critical_deps()
199
200 # we know llvmlite is working as the above tests passed, import it now as SVML
~/miniforge3/envs/tensorflow/lib/python3.9/site-packages/numba/__init__.py in _ensure_critical_deps()
136 raise ImportError("Numba needs NumPy 1.17 or greater")
137 elif numpy_version > (1, 20):
--> 138 raise ImportError("Numba needs NumPy 1.20 or less")
139
140 try:
ImportError: Numba needs NumPy 1.20 or less
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Too good to be true? Plenty of software not compatible with ...
Plenty of software not compatible with Apple M1 laptops ... It's not just Microsoft's software which does not play well with Big Sur...
Read more >Apple Silicon Compatibility (M1 & M2)
This article outlines the support of Elgato products on Apple silicon (M1, M2, etc.) and future Apple silicon hardware.
Read more >Compared: New M2 MacBook Air vs M1 MacBook Air
Here's how the new M2 version measures against the 2020 M1 model in our hands-on tests. The MacBook Air was one of three...
Read more >Why The Apple M1 Chip Is So Fast - A Developer Explains
The M1 Pro and M1 Max offer a big performance bump bit it is clear that this isn't the end of the story....
Read more >Citrix Workspace app 2211 for Mac
Compatible with: ... Version: 22.11.0.12 (2211) ... Privacy and legal terms · Do Not Sell My Personal Information; Cookie preferences; Employee login ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
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
Woke up yesterday and tried again and it worked ¯_(ツ)_/¯ . My VSCode has been acting real funky lately, so it’s probably just an issue there.
Thanks for the response!
I can’t get it working 😦 When I try to install umap-learn, It will fail because NumPy 1.19.4 is not supported on Mac M1.
Any idea how can I get it installed?