Opencv 4.5.3 (for windows) cannot run imshow()

No. I don’t think I can fix this issue. But, you can always try release version, I think it is OK.

Also, I read somewhere (from a book), seems you cannot close the window manually, so just let code end with all windows.
I haven’t tried this idea.