title: openCV not working with python3
body: <p>I am getting this error while running a simple Python3 with opencv program on ubuntu 16.10.</p>
  
  <pre><code>OpenCV Error: Unspecified error (The function is not implemented.
  Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you
  are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then
  re-run cmake or configure script) in cvShowImage, file
  /io/opencv/modules/highgui/src/window.cpp, line 583 Traceback (most
  recent call last):   File "samplecv.py", line 3, in &lt;module&gt;
      cv2.imshow('image',img) cv2.error: /io/opencv/modules/highgui/src/window.cpp:583: error: (-2) The
  function is not implemented. Rebuild the library with Windows, GTK+
  2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in
  function cvShowImage
  </code></pre>
  
  <p>The program I ran is:  </p>
  
  <pre><code>  import cv2
      img = cv2.imread('my.jpg',0)
      cv2.imshow('image',img)
  </code></pre>
  
  <p>I have already checked similar questions <a href="https://stackoverflow.com/questions/14655969/opencv-error-the-function-is-not-implemented">this</a> and <a href="https://stackoverflow.com/questions/40207011/opencv-not-working-properly-with-python-on-linux-with-anaconda-getting-error-th">this</a>. And have re-installed opencv but it didnt help.</p>