Web2py supports Python version 2.7, not 3.x
http://web2py.com/init/default/what
________________________________________
Kiran Subbaraman
http://subbaraman.wordpress.com/about/
On Fri, 21-03-2014 4:29 PM, Deepak Pawar wrote:
I downloaded web2py sources from the web2py site, and tried running it
as mentioned:
E:\Workspace\web2py_src\web2py>python web2py.py
Traceback (most recent call last):
File "web2py.py", line 18, in <module>
import gluon.widget
File "E:\Workspace\web2py_src\web2py\gluon\__init__.py", line 15, in
<module>
from globals import current
ImportError: No module named 'globals'
I have added "E:\Workspace\web2py_src\web2py" to my PATH. And using
python 3.3.5
E:\Workspace\web2py_src\web2py>python
Python 3.3.5 (v3.3.5:62cf4e77f785, Mar 9 2014, 10:37:12) [MSC v.1600
32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
Can someone please guide? What is getting wrong here?
Also, my python installation is not showing me correct values: e.g.
>>> print sys.path
File "<stdin>", line 1
print sys.path
^
SyntaxError: invalid syntax
Appreciate any help on this.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google
Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.