Ubuntu下调用opencv的cv2.imshow()错误
又一次重新配置环境了,安装opencv时,在Ubuntu16.04下用Anaconda直接conda install opencv,调用opencv的cv2.imshow()时出现错误:
The function is not implemented. Rebuild the library with Windows, GTK+2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script.
搜索后的解决方案:
pip install opencv-python