I am using opencv2 in python with the code
import cv2 cv2.namedWindow(\"output\", cv2.WINDOW_NORMAL) cv2.imshow(\"output\",im) cv2.resizeWindow(\'outp
This may be caused by conflicting installations of Qt libraries. The following command fixed it for me:
sudo apt-get remove libqt5x11extras5 libqt5x11extras5-dev