-
Notifications
You must be signed in to change notification settings - Fork 891
Can we upgrade NumPy version from 1.22 to 1.24 or more for Python 3.11? #835
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
Comments
@rnarkk I also encountered this issue today, but instead of installing via pip I was trying to build from source for Python 3.11 with gstreamer support. I was able to compile by setting the required numpy version 1.24.3, so I have put in a small PR to fix the issue. If you urgently need this to work with Python 3.11, it is possible to clone the repo and build manually as I did by making the same changes. |
According to https://numpy.org/news/ 1.23 is minimal Numpy version that supports Python 3.11. |
Fix for issue #835 I encountered the same issue today. By updating to require numpy 1.24.3 I was about to build successfully for my environment (python 3.11.3 / macos ventura arm64 / gstreamer support enabled)
Upgraded to 1.23.5 as minimal Numpy version for Python 3.11 in #839 |
Expected behaviour
numpy==1.22
emits warning:RuntimeWarning: NumPy 1.22.0 may not yet support Python 3.11.
Actual behaviour
NumPy's Python 3.11 support begins from version 1.24.
Steps to reproduce
pip3 install opencv-python
Issue submission checklist
opencv-python
The text was updated successfully, but these errors were encountered: