I used this guide which installs OpenCV in a virtual environment, however I am getting the following error when I try to import the cv2
module:
$ source ~/.profile
$ workon cv
$ python
>>> import cv2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named cv2
As far as I can see OpenCV is installed:
$ pkg-config --modversion opencv
$ 2.4.10