I have installed opencv by following the instruction Here. my code that imports opencv works fine when I run it from terminal. However, when I run my code from pycharm I get:
ImportError: No module named cv2
I have set the python interpreter to my desired virtual environment in Pycharm.