3

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 545 Traceback (most recent call last): File "", line 1, in cv2.error: /io/opencv/modules/highgui/src/window.cpp:545: 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

How to solve this? It seems error in openCV 3.2.0 . Now even in 3.1.0 is showing same error. Anyone please help.

Parth Chauhan
  • 159
  • 3
  • 15
  • _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_ – Miki Apr 15 '17 at 17:49
  • @Miki This is same as mentioned in Error itself. Please tell how to do it. – Parth Chauhan Apr 16 '17 at 18:11
  • Same problem, fixed by going [here](http://www.samontab.com/web/2014/06/installing-opencv-2-4-9-in-ubuntu-14-04-lts/) – Liam Larsen Apr 22 '17 at 07:06

1 Answers1

3
sudo apt-get purge python-opencv
sudo apt-get update
sudo apt-get install python-opencv
Parth Chauhan
  • 159
  • 3
  • 15
Liam Larsen
  • 150
  • 2
  • 12