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:



Dan.
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to