之前在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
参考