Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

illegal hardware instruction python #1110

Open
alexlenail opened this issue Apr 3, 2024 · 2 comments
Open

illegal hardware instruction python #1110

alexlenail opened this issue Apr 3, 2024 · 2 comments

Comments

@alexlenail
Copy link

alexlenail commented Apr 3, 2024

I re-installed

  • umap-learn 0.5.5

in an existing conda environment (python 3.9.15), where I have recent versions of packages like

  • numba 0.59.1

but when I do $ python and > import umap I get illegal hardware instruction python.

When I create a brand new environment with umap-learn, I don't get the issue, but I'd like to work in the current environment if at all possible. I've tried re-installing the package, and numba, but nothing has worked yet.

@EvieQ01
Copy link

EvieQ01 commented Apr 19, 2024

Got exactly the same issue with umap-learn 0.5.1 ~ 0.5.5.
I've tried re-installed the package, and also tried conda update --all, but still get illegal hardware instruction Python. when importing umap.
Using Apple M1 and Mac OS 14.2.1

@EvieQ01
Copy link

EvieQ01 commented Apr 19, 2024

Could be a problem with the M1. I solved the problem by getting a new miniconda env and followed: tensorflow/tensorflow#60569
For your reference, I applied:
conda install -c apple tensorflow-deps
and then
conda install -c conda-forge umap-learn
now it worked with umap-learn 0.5.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants