[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] =?utf-8?q?=5BBUG=3F=5D_ImportError_with_QtNetwork_since_up?=
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2015-06-17 20:57:30
Message-ID: 3625dccd9b41d077a0570547781c5ada () riverbankcomputing ! com
[Download RAW message or body]

On 15/06/2015 4:45 pm, Florian Bruhin wrote:
> * Phil Thompson <phil@riverbankcomputing.com> [2015-06-15 16:09:08 
> +0100]:
>> On 15/06/2015 1:31 pm, Florian Bruhin wrote:
>> >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?
>> 
>> Not intentionally. You might be able to see what DLL is causing the 
>> problem
>> (using a dependency tracker). Otherwise I'll wait ti see if anybody 
>> else has
>> the same problem.
> 
> With dependency walker, I noticed SSLEAY32.DLL is a 32bit (CPU x86)
> rather than a 64bit DLL. I reinstalled 5.4.1 and it shows as 64bit
> there.

I can't reproduce this. I can import QtNetwork and "depends" shows 
SSLEAY32.DLL as 64 bits.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic