Some user reported some like below upon import
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
This could be happening with some versions of opencv such as v4.8.0.76 https://stackoverflow.com/a/78641405
also see https://numpy.org/doc/2.0/dev/depending_on_numpy.html#numpy-2-abi-handling
Updating opencv could solve it (ex with 4.10.0.84)
pip install --upgrade opencv-python-headless
If so then I can increase the minimum required version in the setup.py
Some user reported some like below upon import
This could be happening with some versions of opencv such as v4.8.0.76 https://stackoverflow.com/a/78641405
also see https://numpy.org/doc/2.0/dev/depending_on_numpy.html#numpy-2-abi-handling
Updating opencv could solve it (ex with 4.10.0.84)
pip install --upgrade opencv-python-headlessIf so then I can increase the minimum required version in the
setup.py