I am learning OpenCV but I meet some difficulties, cv2 import is fine but it got error with cv2.imshow
cv2.imshow
from cv2 import cv2 img = cv2.imread(\'image.
I'm faced the same issue and found a link to the issue: https://github.com/opencv/opencv/issues/18079
For now I downgraded OpenCV from 4.4.40 to 4.3.0.36 and it worked for me.