I had the exact same issue when I upgraded from 3.10.2 to 3.10.6.
I also had updated my packages at the same time.
Then none of my opencv scripts worked.
I went into Appdata/local/programs/python/python310/lib/site-packages.
I renamed cv2 to cv2_ORG.
I did a pip uninstall\install
and it worked. I can only think that something was cached from my previous version
I hope this works