[PyQt] PyQt4.QtCore not a valid Win32 application - with windowsinstaller
Sibylle.Koczian at t-online.de
Sun Jan 10 10:11:48 GMT 2010
I posted this a week ago, but didn't get any answer at all. So I'm
trying again, because I really would like to use PyQt again, and I'd
definitely prefer the Windows installer, if at all possible.
Sibylle Koczian schrieb:
> trying to import PyQt4.QtCore I get this:
> Python 3.1.1 (r311:74483, Aug 17 2009, 16:45:59) [MSC v.1500 64 bit
> (AMD64)] on win32
> Type "copyright", "credits" or "license()" for more information.
>>>> import PyQt4.QtCore
> Traceback (most recent call last):
> File "<pyshell#4>", line 1, in <module>
> import PyQt4.QtCore
> ImportError: DLL load failed: %1 ist keine zulässige Win32-Anwendung.
> (Translation: %1 is no valid Win32 application.)
> Using Windows 7 Home Premium 64 bit, Python version see above, PyQt from
> the Windows installer: PyQt-Py3.1-gpl-4.6.2-2.exe.
> I know there are earlier posts about this, but not, I think, with the
> installer package from the Riverbank download page.
> The Visual C++ redistributable package is installed in the 32 bit and in
> the 64 bit version.
> One thing looked suspicious when I started the installation: I got a
> message window saying Python 3.1. "doesn't seem to be installed" - but
> it's there, in C:\Python31, and afterwards it was found without manual
> What's the matter here?
Is the windows installer supposed to work with 64 bit Windows and 64 bit
Python? On the Riverbank web site I don't find anything to the contrary,
so I'd think it should work. Right or wrong?
Thank you for help,
More information about the PyQt