Attempting to run a python script and throws the following error:
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 cvDestroyAllWindows, file /io/opencv/modules/highgui
/src/window.cpp, line 577
Traceback (most recent call last):
File "/home/ldsvm/PycharmProjects/tagging/C1_DrawBboxesOnImages.py", line
116, in <module> cv2.destroyAllWindows()
cv2.error: /io/opencv/modules/highgui/src/window.cpp:577: 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
cvDestroyAllWindows
I installed libgtk2.0-devand pkg-configand reinstalled opencv3, but still getting the same error.
I'm on CentOS.
source
share