[PyQt] [BUG?] ImportError with QtNetwork since updating to 5.4.2 on Windows

Florian Bruhin me at the-compiler.org
Mon Jun 15 13:31:18 BST 2015


Hi!

Since I upgraded from PyQt5 5.4.1 to 5.4.2 (both installed using the
binary installer, PyQt5-5.4.2-gpl-Py3.4-Qt5.4.2-x64.exe), I get this
when trying to import QtNetwork:

    >>> from PyQt5 import QtNetwork
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    ImportError: DLL load failed: %1 is not a valid Win32 application.

Importing QtCore works fine however:

    >>> from PyQt5 import QtCore
    >>> QtCore
    <module 'PyQt5.QtCore' from 'C:\\Python34\\lib\\site-packages\\PyQt5\\QtCore.pyd'>

The same thing works fine on AppVeyor with the 32bit .exe, so maybe
it's something specific to that 64bit installer?

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: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150615/4b9f614e/attachment.sig>


More information about the PyQt mailing list