PDA

View Full Version : Problem in ascii_upper.py (in PyQt) when convert Python to exe



jojanpm
21st October 2010, 14:18
Hi,

I 'm getting this error when trying to create exe from python (using 'python setup.py py2exe --includes sip' as command) :

running py2exe
*** searching for required modules ***
error: compiling 'C:\Python25\lib\site-
packages\PyQt4\uic\port_v3\ascii_upper.py
' failed
SyntaxError: invalid syntax (ascii_upper.py, line 2)


i import PyQt4.uic in the python file, to load Qt's .ui file.

Thnx