[PyQt] SyntaxError when byte-compiling PyQT
šãñ
niceguysan at gmail.com
Fri Dec 28 12:33:16 GMT 2012
you have to put path in brackets.. , however I hope you know py2app means
version of Python 2x and you are using python 3.
On Fri, Dec 28, 2012 at 4:26 PM, Nicolas Jouanin
<nicolas.jouanin at gmail.com>wrote:
> Hi,
>
> I develop a PyQT (4.9.6) application on MacOS (10.8.2) and I have problem
> when packaging with py2app.
> I'm using python 3 and when py2app runs packaging it compiles PyQt .py
> files and I can see SyntaxErrors . :
>
> byte-compiling
> bdist.macosx-10.6-intel/python3.3-standalone/app/temp/PyQt4/QtCore.py to
> PyQt4/QtCore.pyc
> File "PyQt4/QtCore.pyc", line 6
> print path
> ^
> SyntaxError: invalid syntax
>
> byte-compiling
> bdist.macosx-10.6-intel/python3.3-standalone/app/temp/PyQt4/QtGui.py to
> PyQt4/QtGui.pyc
> File "PyQt4/QtGui.pyc", line 6
> print path
> ^
> SyntaxError: invalid syntax
>
> byte-compiling
> bdist.macosx-10.6-intel/python3.3-standalone/app/temp/PyQt4/QtNetwork.py to
> PyQt4/QtNetwork.pyc
> File "PyQt4/QtNetwork.pyc", line 6
> print path
> ^
> SyntaxError: invalid syntax
>
> byte-compiling
> bdist.macosx-10.6-intel/python3.3-standalone/app/temp/PyQt4/QtWebKit.py to
> PyQt4/QtWebKit.pyc
> File "PyQt4/QtWebKit.pyc", line 6
> print path
> ^
> SyntaxError: invalid syntax
>
>
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
--
**
[image: San's personal blog] <http://feeds.feedburner.com/SanLuthraBlog>
*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20121228/c016ef3a/attachment.html>
More information about the PyQt
mailing list