[Error] cv2.error: OpenCV(4.5.3) C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-z4706ql7\opencv\modules\highgui\src\window.cpp:1274: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Coco..

2021. 11. 24. 02:48공부한 것 정리/개발환경설정

반응형

블로그 이전했어요

https://cccaaa.tistory.com/10

 

opencv-python / opencv-python-contrip 둘 다 uninstall 후 다시 pip install

 

 

그래도 안되면 

pip uninstall opencv-python-headless -y

 

 

ref : https://www.google.com/search?q=cv2.error%3A+OpenCV(4.5.3)+C%3A%5CUsers%5Crunneradmin%5CAppData%5CLocal%5CTemp%5Cpip-req-build-z4706ql7%5Copencv%5Cmodules%5Chighgui%5Csrc%5Cwindow.cpp%3A1274%3A+error%3A+(-2%3AUnspecified+error)+The+function+is+not+implemented.+Rebuild+the+library+with+Windows%2C+GTK%2B+2.x+or+Cocoa+support.+If+you+are+on+Ubuntu+or+Debian%2C+install+libgtk2.0-dev+and+pkg-config%2C+then+re-run+cmake+or+configure+script+in+function+%27cvShowImage&oq=cv2.error%3A+OpenCV(4.5.3)+C%3A%5CUsers%5Crunneradmin%5CAppData%5CLocal%5CTemp%5Cpip-req-build-z4706ql7%5Copencv%5Cmodules%5Chighgui%5Csrc%5Cwindow.cpp%3A1274%3A+error%3A+(-2%3AUnspecified+error)+The+function+is+not+implemented.+Rebuild+the+library+with+Windows%2C+GTK%2B+2.x+or+Cocoa+support.+If+you+are+on+Ubuntu+or+Debian%2C+install+libgtk2.0-dev+and+pkg-config%2C+then+re-run+cmake+or+configure+script+in+function+%27cvShowImage&aqs=chrome..69i57.621j0j7&sourceid=chrome&ie=UTF-8

 

cv2.error: OpenCV(4.5.3) C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-z4706ql7\opencv\modules\highgui\src\window.cpp:12

2021. 10. 2. · namedWindow(name) with error: cv2.error: OpenCV(3.4.2). ... follow the first command sudo pip install opencv-contrib-python,This issue can ...

www.google.com

 

반응형