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?