Когда я закончу, я запускаю это (что исторически у меня работало):
< р>
Код: Выделить всё
>>> cv2.destroyAllWindows()Код: Выделить всё
Traceback (most recent call last):
File "", line 1, in
cv2.error: OpenCV(4.10.0) D:\a\opencv-python\opencv-python\opencv\modules\highgui\src\window.cpp:1295: 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 'cvDestroyAllWindows'
Подробнее здесь: https://stackoverflow.com/questions/786 ... ion-is-not