PyQt5 - 64bit - ImportError: DLL load failed: %1 is not a valid Win32 application



  • Hi,
    I had a hard time getting PyQt5 to work on 64bit OS. I kept getting error while importing the modules.
    [code]ImportError: DLL load failed: %1 is not a valid Win32 application.[/code]

    Python & PyQt5, both were 64bit versions. Clean Re-installing them did not fix issue.

    Ultimately i had to remove both & install 32bit versions of Python & PyQt5.

    This is just to help anyone who might encounter the same issue.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.