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

后端 未结 14 740
佛祖请我去吃肉
佛祖请我去吃肉 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:49

    I used pip to install opencv-python. (https://pypi.org/project/opencv-python/)

    1) Remove the opencv package from conda:

    >> conda remove opencv
    

    2) To your env.yml file add this:

    ...
    dependencies:
      - numpy
      - pytest
      ...
      - pip:
        - opencv-python
    

提交回复
热议问题