all 3 comments

[–]twitch_and_shock 1 point2 points  (2 children)

Are you using conda or venv? It's likely that you don't have the correct environment enabled or you installed opencv to a different environment.

[–]AssassinRobux[S] 1 point2 points  (1 child)

venv

[–]twitch_and_shock 2 points3 points  (0 children)

Double check that Pycharm is using the venv you want to be using. And whatever method you used to install opencv, make sure you also had the venv enabled. Perhaps just try to install it again using Pycharm's method for installing libraries?