View Single Post
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#179
Originally Posted by bentech4u View Post
i am very new to this

i tried the procedures and installed all packages

PyQt GPL v4.7.6 for Python v3.1 and python 3.1.0

when i tried to compile the ui, i got an error like

Code:
D:\python>pyuic4 -x benvin.ui -o benvin.py
Traceback (most recent call last):
  File "C:\Python31\Lib\site-packages\PyQt4\uic\pyuic.py", line 4,
    from PyQt4 import QtCore
ImportError: DLL load failed: %1 is not a valid Win32 application.
my os is windows 7 64 bit

please help me
I haven't used pyuic for a while, but from what was posted above
Code:
pyuic4 -o test.py -x test
Compared to yours, there is a difference
Code:
pyuic4 -x benvin.ui -o benvin.py
To me it looks like you are trying to run pyuic from with a python console? i thought it needs to be run from within the dos prompt - also, the example has the .py first, and you put the.ui first....

a few bits, not got time to test and show at the moment though.
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -