[PyQt] Converting a QtDesigner ui file to a python py file.

Florian Bruhin me at the-compiler.org
Tue Aug 2 19:21:49 BST 2016


* Dennis Hofer <hoferd744 at gmail.com> [2016-08-02 12:00:02 -0600]:
> ImportError: DLL load failed: %1 is not a valid Win32 application.

That means your PyQt4 installation is broken - something like this
should fail in the same way:

    C:\Python27\python.exe -c "from PyQt4 import QtCore"

Are you sure you installed it for the right Python version and
32/64-bit?

http://www.dependencywalker.com/ on the QtCore DLL somewhere in
c:\Python27\Lib\site-packages\PyQt4 can probably tell you more, but is
a bit cryptic to understand.

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160802/b3e0f1f0/attachment.sig>


More information about the PyQt mailing list