我下載的源代碼包形式http://web2py.com/examples/default/download,but我無法啓動web2py中使用這個命令:如何在ubuntu中運行web2py?
[email protected]:~/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?