Ah, sounds like a cx_freeze problem them. Other than that issue, cx_freeze appeared to work fine.<div><br></div><div>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.</div>
<div><br></div><div>Thanks,</div><div>Dan.<br><div><br></div><div><br><br><div class="gmail_quote">On Fri, Dec 3, 2010 at 4:21 PM, Hans-Peter Jansen <span dir="ltr"><<a href="mailto:hpj@urpla.net">hpj@urpla.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On Friday 03 December 2010, 21:47:06 Daniel Goertzen wrote:<br>
> While running cx_freeze with an installation of<br>
> PyQt-Py3.1-gpl-4.8.1-1, I got the following error:<br>
><br>
><br>
> File<br>
> "C:\Python31\lib\site-packages\PyQt4\uic\port_v2\load_plugin.py",<br>
^^^^^^^<br>
> line 17<br>
> except Exception, e:<br>
> ^<br>
> SyntaxError: invalid syntax<br>
> make: *** [freeze] Error 1<br>
><br>
><br>
><br>
> Changing the line to a Python 3 style exception fixed it:<br>
><br>
> except Exception as e:<br>
<br>
</div></div>but it should have picked up port_v3, if things would had gone right.<br>
For some reason, cx_freeze picked the wrong interpreter.<br>
<br>
You may also try using PyInstaller, which has explicit PyQt4 support.<br>
<br>
Pete<br>
_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Daniel Goertzen<br>-----------------<br><a href="mailto:dang@networkintegritysystems.com">dang@networkintegritysystems.com</a> (work)<br><a href="mailto:daniel.goertzen@gmail.com">daniel.goertzen@gmail.com</a> (home)<br>
-----------------<br>1 204 272 6149 (home/office)<br>1 204 470 8360 (mobile)<br>-----------------<br><br><br><br>
</div></div>