I am Charmie

メモとログ

OpenCV-Python GUI outputs GTK related error

This stackoverflow post gives us the answer!!

OpenCV for python installed on Linux (Ubuntu) by anaconda outputs GTK+2.x related error as OpenCV Error: Unspecified error (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 cvShowImage.

The following steps shown in the post worked on my case :)

[code lang='bash'] conda remove opencv conda install -c menpo opencv pip install --upgrade pip pip install opencv-contrib-python data-mce-type="bookmark" id="mce_SELREST_start" data-mce-style="overflow:hidden;line-height:0" style="overflow:hidden;line-height:0" > [/code]