s***@gla.ac.in
2018-01-30 17:56:50 UTC
I tried to install OpenCV in Spyder IDE by running the command *conda install
opencv *and tried to import OpenCV using import cv2 and read the image
using cv2.imread() it was working fine. The moment I invoked the function *cv2.imshow()
*it shows an error that
*error:
/tmp/build/80754af9/opencv_1512687413662/work/modules/highgui/src/window.cpp:611:
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*
I am using Ubuntu 16.04 and installed libgtk2.0-dev and pkg-config. Still
not able to figure this out.
opencv *and tried to import OpenCV using import cv2 and read the image
using cv2.imread() it was working fine. The moment I invoked the function *cv2.imshow()
*it shows an error that
*error:
/tmp/build/80754af9/opencv_1512687413662/work/modules/highgui/src/window.cpp:611:
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*
I am using Ubuntu 16.04 and installed libgtk2.0-dev and pkg-config. Still
not able to figure this out.
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/0d53801d-91fa-46da-b0f9-54a0c5c14fb8%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/0d53801d-91fa-46da-b0f9-54a0c5c14fb8%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.