I have install opencv using this code:
sudo apt-get install libopencv-dev python-opencv
and when i try to import cv2 in python2/3 is gives this error
import cv2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named cv2