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 "/home/nanashi/CenterTrack-master/src/demo.py", line 128, in <module>
demo(opt)
File "/home/nanashi/CenterTrack-master/src/demo.py", line 80, in demo
cv2.imshow('input', img)
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
OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows,
https://blog.csdn.net/qq_36265860/article/details/92806129
pip3 uninstall opencv-python
pip3 install opencv-python