我从http://web2py.com/examples/default/download下载了源代码包,但是我无法使用以下命令启动web2py:
tom@ubuntu:~/web2py$ python web2py.py -a 'your password' -i 127.0.0.1 -p 8000
Traceback (most recent call last):
File "web2py.py", line 16, in <module>
import gluon.widget
File "/home/tom/web2py/gluon/widget.py", line 85
print 'warning: unable to detect your browser'
^
SyntaxError: invalid syntax
我正在使用Python3.1,如何在此版本上运行Web2py?