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 !!*
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to