TypeError: annotate() got an unexpected keyword argument'labels
If the error message "TypeError: annotate() got an unexpected keyword argument'labels'" is displayed, roll back the Supervision to the 0.7.0 version.
pip install supervision==0.7.0
I solved it with pip install supervision==0.21.0
I solved it with
pip install supervision==0.21.0
Very good. Thank you so much.
@Alex-Lord I install numpy 2.26 which is incompatible as modules are compiled with numpy version < 1. Did you face this issue? `A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.6 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'.
If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2.`