[PyQt] ImportError: DLL load failed: %1 is not a valid Win32 application.

chrysl666_ L666 chrysl666 at gmail.com
Tue Dec 30 22:23:57 GMT 2008


Hi folk  is my first try using PyQt  ..

i have  downloaded  and install PyQT4 version :
PyQt-Py2.6-gpl-4.4.4-2.exe
and  MSVC2008 C++ runtime DLLs

and in my first try  using with the simple script
______________________________________
*#!/usr/bin/env python*
*# PyQt tutorial 1*

*import sys
from PyQt4 import QtGui*

*app = QtGui.QApplication(sys.argv)*
*hello = QtGui.QPushButton("Hello world!")
hello.resize(100, 30)*
*hello.show()*
*sys.exit(app.exec_())*
*_____________________________________*
**
*python shell send  me the folowing error :*
**
Traceback (most recent call last):
  File "C:\Python26\Lib\site-packages\PyQt4\examples\tutorial\t1.pyw", line
7, in <module>
    from PyQt4 import QtGui
ImportError: DLL load failed: %1 is not a valid Win32 application.

my windows is a Vista 64  running over a AMD Turion 64
my python 2.6  64AMD version

*any ideia how to fix this error?*
*tnx for help me !!*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20081230/40d559c5/attachment.html


More information about the PyQt mailing list