【发布时间】:2018-03-20 21:26:48
【问题描述】:
我是openCV 的新手,从this 链接安装它,它编译和安装没有错误。之后,当我打开 ipython 并运行这些命令时:
import cv2
import numpy as np
# create an image matrix using nimpy called img
cv2.imshow("image", img)
我收到此错误消息:
/io/opencv/modules/highgui/src/window.cpp:583: error: (-2) 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 in function cvShowImage
【问题讨论】:
-
您的教程链接已损坏
-
@eshirima 我编辑了链接,我删除了所有 openCV 包并从
anaconda安装它,但问题仍然存在。