I also had the same problem with opencv-python-4.6.0.66
I solved this error by just downgrading opencv. you can follow this command.
pip install opencv-python==4.5.5.64
Hope this will help you.
I also had the same problem with opencv-python-4.6.0.66
I solved this error by just downgrading opencv. you can follow this command.
pip install opencv-python==4.5.5.64
Hope this will help you.