I tried to show images from camera using cv2.imshow, but instead of updating it creates new windows.
This is the code
As with this question a proper workaround of this bug (pointed in the comments of the question with the related issue) is to build OpenCV from source code.
This can solve the conflicting libraries problem related to Qt and shown by skvark (owner of the opencv-python repository):
This issue cannot be fixed in OpenCV, the issue is related to Qt conflicts between the bundled Qt4 in the Python wheels and system Qt4/5 installations.