ImportError: /lib/x86_64-linux-gnu/ undefined symbol

I was trying to import cv2 as cv
but got this error "ImportError: /lib/x86_64-linux-gnu/ 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


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