ImportError: /lib/x86_64-linux-gnu/libopencv_text.so.4.5: undefined symbol

I was trying to import cv2 as cv
but got this error "ImportError: /lib/x86_64-linux-gnu/libopencv_text.so.4.5: undefined symbol: _ZN2cv3dnn14dnn4_v202106083NetC1Ev
If anyone of you have any solution kindly let me know

os ? how did you install this ?

kali linux
from terminal using sudo apt-get install

so, that’s broken. inform the maintainer of the package
(opencv devs cant do anything about it)

and btw, install what exactly ?

this is incomplete

options:

  • pip install opencv-contrib-python
  • build from github src