python调用imshow()时出现下面的错误:
error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvShowImage'
通过各类命令行操作,仍有各种各样的问题,安装不成功。
上述做法不可取,出现各种问题。
最后通过CMAKE-GUI进行默认配置,安装库成功了,然后回到conda环境下,安装对应的opencv-python版本,imshow正常。
cd ~
git clone https://github.com/opencv/opencv.git