I have got a python code from open source community where it imports cv as well as cv2. After installing opencv using conda 'import cv2' resolved. But still I have issue with 'import cv', where it shows 'ImportError: No module named cv'.
Few other things I have tried: 1. sudo apt-get install python-opencv 2. pip install opencv 3. import cv2.cv as cv
Can any one help me how to resolve "No module named cv"? Note that I am using python version 2.7.13
In my code I am using as below:
import cv2
import cv
And getting the following error:
import cv
ImportError: No module named cv