I was checking the version of OpenCV installed previously in a system. I tried to check using
from cv2 import __version__
Its gave me the following error
No module named cv2
When I tried import cv
, it's not giving me error. Is there a way to know the version?