I\'m trying to get OpenCV working with Python on my Ubuntu machine. I\'ve downloaded and installed OpenCV, but when I attempt to run the following python code (which should
Before installing libgtk2.0-dev and
pkg-config or libqt4-dev. Make sure that you have uninstalled opencv. You can confirm this by running import cv2 on your python shell. If it fails, then install the needed packages and re-run cmake .