Numpy version fix
In the latest 4.12.0.88 release of opencv-python the Numpy version requirement was changed from a minimum version fix to a maximum version fix. But the maximum version fix is set to an older version of Numpy, which caused Numpy to be downgraded on all our machines. Please DO NOT DO THIS! I absolute hate maximum version locks when they are not absolutly necessary. We have been running opencv-python with Numpy 2.3.1 without any issues, there is no need to forcibly downgrade everyone to Numpy 2.2.6.
Yeah, same. I hope this was just an oversight.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. opencv-python 4.12.0.88 requires numpy<2.3.0,>=2; python_version >= "3.9", but you have numpy 1.26.0 which is incompatible. opencv-python-headless 4.12.0.88 requires numpy<2.3.0,>=2; python_version >= "3.9", but you have numpy 1.26.0 which is incompatible.这个怎么解决啊
Requiring Numpy 2.x for Python 3.9 makes it incompatible with older Tensorflow versions.... tensorflow-intel 2.17.1 depends on numpy<2.0.0 and >=1.23.5; python_version <= "3.11"
#1121 should fix this.
So we are now 5 months on. The release candidate for numpy 2.4 has just come out, while this ticket for supporting numpy 2.3 is stil open. I have tested with numpy 2.4 just like I did with 2.3 and found 0 issues. Again, please either speed up your release cycle or relax version fixing, preferably both, it's really getting annoying now.