PyQt6: ImportError: DLL load failed while importing QtGui

Ales Erjavec ales.erjavec324 at gmail.com
Fri Apr 15 12:45:10 BST 2022


Hi

Since PyQt6 6.3.0 was released, installing PyQt6 with:

pip install PyQt6==6.2.3

installs PyQt6==6.2.3 and PyQt6-Qt6==6.3.0

On Windows this combination raises an:

ImportError: DLL load failed while importing QtGui: The specified
procedure could not be found.

when trying to import QtGui (on linux and macos this combination seems to work).

As I understand PyQt6 should in general work with newer Qt releases.

Should we always specify PyQt6 and PyQt6-Qt6 versions together to get
a consistent env?

Best regards
Aleš


More information about the PyQt mailing list