-1
試圖運行一個python腳本,它引發以下錯誤:OpenCV的(功能未實現)
OpenCV Error: Unspecified error (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 cvNamedWindow, file /root/mc-x64-2.7/conda-bld/opencv-3_1482255590695/work/opencv-3.1.0/modules/highgui/src/window.cpp, line 527
Traceback (most recent call last):
File "C1_DrawBboxesOnImages.py", line 90, in <module>
cv2.namedWindow("AnnotationWindow")
cv2.error: /root/mc-x64-2.7/conda-bld/opencv-3_1482255590695/work/opencv-3.1.0/modules/highgui/src/window.cpp:527: 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 cvNamedWindow
我已經安裝了libgtk2.0-dev的和pkg配置,但仍然得到同樣的錯誤任何人都可以幫助我。
我這樣做,但仍然得到相同的錯誤:( – samira
您可能需要刪除cmake緩存,所以它拿起新的lib –