OpenCV error: the function is not implemented

前端 未结 5 1930
半阙折子戏
半阙折子戏 2020-11-28 05:16

I\'m trying to get OpenCV working with Python on my Ubuntu machine. I\'ve downloaded and installed OpenCV, but when I attempt to run the following python code (which should

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-28 06:12

    I hope this answer is still useful, despite problem seems to be quite old.

    If you have Anaconda installed, and your OpenCV does not support GTK+ (as in this case), you can simply type

    conda install -c menpo opencv=2.4.11
    

    It will install suitable OpenCV version that does not produce a mentioned error. Besides, it will reinstall previously installed OpenCV if there was one as a part of Anaconda.

提交回复
热议问题