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
numba 0.56.4 requires numpy<1.24,>=1.18, but you have numpy 1.24.2 which is incompatible. #8875
Comments
Install a NumPy lower than 1.24 and then try again? |
|
@Marietto2008 I suggested to install a NumPy lower than 1.24 -- not 1.24 itself. Numba 0.56.4 does not support NumPy 1.24 and beyond. |
@fcolecumberri Numba 0.57.0 release candidate information can be found in #8841. |
There are too many other packages that require a recent numpy (like tellurium) so that using an older numpy version is difficult. Hoping that 0.57 comes soon... |
The checklist for releasing 0.57 is here #8921 (0.57 has NumPy 1.24 support). Please do subscribe to that if it's important to you. Closing this question as it seems to be resolved. Thanks! |
I also have some difficulties using numba in my project. I'd like to upgrade to latest NumPy, but it's problematic since numba needs < 1.23 |
Numba 0.57.0 supports numpy < 1.25 -- if you continue to encounter issues, please do open a new issue. Thank you. |
Cool, just saw that. Will try to use |
Literally within days
Version capping is the root of the issue here and it is generally discouraged. Please consider uncapping. To quote Brett Cannon (Python Steering Council Member and packaging expert):
A longer rationale why this is generally considered best practice can be found here - and "it does not scale" is our particular pain point (in universal reproducible containerized dev environments for data science users). |
NumPy minor upgrades will almost always break Numba. In this case we prefer to exit early with an error instead of risking a segfault or other undefined behaviour. Having said that, we are working with the NumPy community to enable better testing of development versions and release candidates so that we can eventually stop capping NumPy. |
Same as everyone, but worse as @esc mentioned
The above pip requirements doesn't seem to match that statement. |
Can you add steps or hints to reproduce, I wasn't able to:
|
Hello.
I'm trying to install numpy on my Debian 11 + python 3.8,but :
how to fix it ? thanks.
The text was updated successfully, but these errors were encountered: