It worked for me with 3.1, I just have to delete the python2 pyqt bindings from the site-packages...
+-[ Gergely Kontra <[email protected]> ]------------------+ | | | Mobile:(+36 20)356 9656 | | | +- "Olyan lángész vagyok, hogy poroltóval kellene járnom!" -+ On Sat, Dec 4, 2010 at 02:16, Daniel Goertzen < [email protected]> wrote: > Ah, sounds like a cx_freeze problem them. Other than that issue, cx_freeze > appeared to work fine. > > The pyInstaller homepage says that it only supports up to python 2.7. > Since I'm using 3.1, I didn't even try it. > > Thanks, > Dan. > > > > On Fri, Dec 3, 2010 at 4:21 PM, Hans-Peter Jansen <[email protected]> wrote: > >> On Friday 03 December 2010, 21:47:06 Daniel Goertzen wrote: >> > While running cx_freeze with an installation of >> > PyQt-Py3.1-gpl-4.8.1-1, I got the following error: >> > >> > >> > File >> > "C:\Python31\lib\site-packages\PyQt4\uic\port_v2\load_plugin.py", >> ^^^^^^^ >> > line 17 >> > except Exception, e: >> > ^ >> > SyntaxError: invalid syntax >> > make: *** [freeze] Error 1 >> > >> > >> > >> > Changing the line to a Python 3 style exception fixed it: >> > >> > except Exception as e: >> >> but it should have picked up port_v3, if things would had gone right. >> For some reason, cx_freeze picked the wrong interpreter. >> >> You may also try using PyInstaller, which has explicit PyQt4 support. >> >> Pete >> _______________________________________________ >> PyQt mailing list [email protected] >> http://www.riverbankcomputing.com/mailman/listinfo/pyqt >> > > > > -- > Daniel Goertzen > ----------------- > [email protected] (work) > [email protected] (home) > ----------------- > 1 204 272 6149 (home/office) > 1 204 470 8360 (mobile) > ----------------- > > > > > _______________________________________________ > PyQt mailing list [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/pyqt >
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
