Skip to content

The code does not run on google colab and gives an error. #7

@Jyotibrat

Description

@Jyotibrat

The error is found in the third cell. The machine I am running on is a windows device. I am running it in google colab.

Error:

error                                     Traceback (most recent call last)
[<ipython-input-3-c84c48cf2b86>](https://localhost:8080/#) in <cell line: 11>()
      9 
     10 cap.release()
---> 11 cv2.destroyAllWindows()

error: OpenCV(4.10.0) /io/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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions