Trouble with installation: numpy error (resolved) followed by importerror for viedocapture

I have a simple opencv project, which works well on ubuntu and on Buster. However, I get an import error for importing he name VideoCapture from cv2 when trying to use it on bullseye. Any ideas as to why this might be happening? Thank you.

any chance, you installed both opencv-python and opencv-contrib-python ?

(if so, please remove the former)

also, please give exact opencv version(s) and complete stacktrace from your errors, thank you

The former? As in opencv-python? 4.5.5.62 for opencv, 1.22 numpy