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

Version conflicts with numba when installing locally #411

Closed
smaybius opened this issue Mar 30, 2021 · 4 comments
Closed

Version conflicts with numba when installing locally #411

smaybius opened this issue Mar 30, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@smaybius
Copy link

smaybius commented Mar 30, 2021

When I ran pip install -e . or pip install -r requirements.txt I get the following errors:

ERROR: umap-learn 0.5.1 has requirement numba>=0.49, but you'll have numba 0.48.0 which is incompatible.
ERROR: pynndescent 0.5.2 has requirement numba>=0.51.2, but you'll have numba 0.48.0 which is incompatible.

Which versions of these two packages should they be downgraded to?

@erogol
Copy link
Member

erogol commented Mar 31, 2021

what python version do you have ?

@smaybius
Copy link
Author

what python version do you have ?

3.8.5

@erogol erogol added the bug Something isn't working label Mar 31, 2021
@erogol
Copy link
Member

erogol commented Mar 31, 2021

In a fresh environment try below. It already works fine on our CI tests.

pip install -e

or you can try this but not sure about it

pip uninstall umap-learn
pip uninstall pynndescent 
pip install umap-learn==0.4.6

I think you force things to install updated numba or new umap-learn and things started to fail.

@smaybius
Copy link
Author

In a fresh environment try below. It already works fine on our CI tests.

pip install -e

or you can try this but not sure about it

pip uninstall umap-learn
pip uninstall pynndescent 
pip install umap-learn==0.4.6

I think you force things to install updated numba or new umap-learn and things started to fail.

I added ==0.4.6 to umap-learn in requirements.txt and it solved the error

erogol added a commit that referenced this issue Mar 31, 2021
@erogol erogol closed this as completed Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants