I am working with OpenCV on Python and just from yesterday I encountered a very weird problem.
When I call a very simple method, imshow(), the program always
imshow()
I don't have enough reputation to comment, but are you using opencv 4.3 by any chance? I had the same problem, so I just downgraded to 4.2.