OpenCV not working properly with python on Linux with anaconda. Getting error that cv2.imshow() is not implemented

后端 未结 14 745
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-02 09:24

This is the exact error that I am getting. My OS is Ubuntu 16.10.

OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with

14条回答
  •  抹茶落季
    2020-12-02 09:40

    Notice that it is complaining for libgtk2.0-dev and pkg-config. Here is the solution. Uninstall your existing openCV installation.

    conda remove opencv3

    Install these packages before installing opencv- conda install gtk2 pkg-config

    Now install opencv from menpo conda install -c https://conda.anaconda.org/menpo opencv3

提交回复
热议问题