I’ve installed opencv multiple times even compiled it but the error keeps returning.
cv2.imshow(“Frame”,frame)
cv2.error: OpenCV(4.4.0) /tmp/pip-req-build-sfexxcdo/opencv/modules/highgui/src/window.cpp:651: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa 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’
so I installed install libgtk2.0-dev and pkg-config, still get this error.
so what’s wrong?
why does it keep returning?
is there a “right” way to install this? because I tried pip install, apt-get install and the compile instructions.
This has been frustrating.
thanks