While running cx_freeze with an installation of PyQt-Py3.1-gpl-4.8.1-1, I got the following error:<div><br></div><div><br></div><div><div> File "C:\Python31\lib\site-packages\PyQt4\uic\port_v2\load_plugin.py", line 17</div>
<div> except Exception, e:</div><div> ^</div><div>SyntaxError: invalid syntax</div><div>make: *** [freeze] Error 1</div></div><div><br></div><div><br></div><div><br></div><div>Changing the line to a Python 3 style exception fixed it:</div>
<div><br></div><div> except Exception as e:</div><div><br></div><div><br></div><div><br></div><div>Dan.</div><div><div><div><br>
</div></div></div>