I am getting this error while running a simple Python3 with opencv program on ubuntu 16.10.
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 <module>
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
The program I ran is:
import cv2
img = cv2.imread('my.jpg',0)
cv2.imshow('image',img)
I have already checked similar questions this and this. And have re-installed opencv but it didnt help.