Traceback (most recent call last):
File "E:\python\pycharm\Captcha Recognition\main.py", line 10, in
cv2.namedWindow("setup")
AttributeError: module 'cv2' has no attribute 'namedWindow'
Traceback (most recent call last):
File "E:\python\pycharm\Captcha Recognition\main.py", line 13, in
cv2.namedWindow("setup")
cv2.error: OpenCV(4.5.4) D:\a\opencv-python\opencv-python\opencv\modules\highgui\src\window.cpp:1257: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa 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'
Traceback (most recent call last):
File "E:\python\pycharm\Captcha Recognition\main.py", line 10, in
cv2.namedWindow("setup")
AttributeError: module 'cv2' has no attribute 'namedWindow'