I can't setup gui2py?

96 views
Skip to first unread message

Cam P

unread,
May 3, 2015, 7:26:51 PM5/3/15
to gui...@googlegroups.com
http://stackoverflow.com/questions/30020158/python-how-do-i-setup-gui2py

Above is the stack overflow post I made. Here is what I said in the post:

I've done a clean install of Python 2.7.9, wxPython, and gui2py but when I can't seem to get gui2py working.

When I run either python sample.pyw, python -m gui.tools.designer, or python setup.py install, I get something like this:

Traceback (most recent call last):
File "C:\Python27\sample.pyw", line 19, in <module>
import gui # import gui2py package (shortcuts)
File "C:\Python27\gui\__init__.py", line 22, in <module>
from .controls import Label, Button, TextBox, CheckBox, ListBox, ComboBox, \
File "C:\Python27\gui\controls\__init__.py", line 15, in <module>
from .label import Label
File "C:\Python27\gui\controls\label.py", line 14, in <module>
from ..component import Control, Spec, EventSpec, InitSpec, StyleSpec
File "C:\Python27\gui\component.py", line 669
else:
^
SyntaxError: invalid syntax
Similar (If not the same) errors are printed when I run setup.py or some other scripts.

So what is going wrong? Do I need any other packages? How can I fix this?

Mariano Reingart

unread,
May 4, 2015, 2:23:21 AM5/4/15
to Cam P, gui2py
 
So what is going wrong? Do I need any other packages? How can I fix this?

Please test my mirror in GitHub:


You can download the packaged version from:


Let me know if this solves your issue, and feel free to suggest any PR with patches/enhancements.

Reply all
Reply to author
Forward
0 new messages