Could not import pyqt5 pyqt6 python. A QPixmap can be used to show an image in a PyQT window.