今天我的电脑上的Opencv中的cv2.imshow() 报错,显示
he 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) in cvNamedWindow, file
/home/nick/.Apps/opencv/modules/highgui/src/window.cpp, line 516
重新卸载安装、退回到opencv-python3.4 也不行
最后发现Anaconda的没有配置在环境变量中
果断配置上
C:\Users\user\Anaconda3
C:\Users\user\Anaconda3\Scripts
然后重启后生效,很奇怪的bug