I am trying to run the Yolov8 model from ultranalytics. I need to have ultralytics and opencv-python installed for this.
When I finish with, I run this (which has worked historically for me):
>>> cv2.destroyAllWindows()
However, after reinstalling some other packages, I now get the following error when running this:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
cv2.error: OpenCV(4.10.0) D:aopencv-pythonopencv-pythonopencvmoduleshighguisrcwindow.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'
I have reinstalled everything in my environment but still getting this error