raspberrypilearning / astropi-ndvi

Other
0 stars 0 forks source link

Error executing code #27

Open profesoratecno opened 1 year ago

profesoratecno commented 1 year ago

Traceback (most recent call last): File "/home/pi/01Py_camera-cv.py", line 10, in cv2.namedWindow('Original') # create window cv2.error: OpenCV(4.5.5) /tmp/pip-wheel-zspzgea0/opencv-contrib-python-headless_d2ab14f9b3904c4193d75ebd94c66803/opencv/modules/highgui/src/window.cpp:1251: 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 'cvNamedWindow'