What is the opencv isntalled by conda

asked 2016-05-23 19:19:40 -0500

cv2.error: -------src-dir-------/opencv-2.4.10/modules/highgui/src/window.cpp:483: 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 cvNamedWindow

I got this error and I tries to solve it. After googling it, I feel that I have to do cmake on the opencv file. But where is the opencv file. I installed the opencv by conda and sudo apt-get install libopencv-dev, I didn't download a file from the page. It is very confusing. I tried to find a opencv file that looks like opencv file in the zip but I can't find one. So then I try to just download the zip for opencv 2.4.10 and do the cmake. But it didn't solve the problem. And I'm really confused now. What is installed by sudo apt-get install libopencv-dev and what is installed by conda, what happens when I download the opencv zip and do the cmake. Actually libopencv-dev has successfully support caffe.

I'm so confused, can anyone help

edit retag flag offensive close merge delete