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

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

    If you installed OpenCV using the opencv-python pip package at any point in time, be aware of the following note, taken from https://pypi.python.org/pypi/opencv-python

    IMPORTANT NOTE MacOS and Linux wheels have currently some limitations:

    • video related functionality is not supported (not compiled with FFmpeg)
    • for example cv2.imshow() will not work (not compiled with GTK+ 2.x or Carbon support)

    Also note that to install from another source, first you must remove the opencv-python package

提交回复
热议问题