same here test using conda
$ uname
Darwin

$ python -V
Python 3.7.1

$ git clone --recursive https://github.com/web2py/web2py.git
$ cd web2py
$ git checkout modular

$ python setup.py 
Traceback (most recent call last):
  File "setup.py", line 4, in <module>
    from gluon.fileutils import tar, untar, read_file, write_file
  File "/Users/sugizo/Downloads/learn/web2py/gluon/__init__.py", line 35, in 
<module>
    from .globals import current
  File "/Users/sugizo/Downloads/learn/web2py/gluon/globals.py", line 16, in 
<module>
    from gluon._compat import pickle, StringIO, copyreg, Cookie, urlparse, 
PY2, iteritems, to_unicode, to_native, \
ImportError: cannot import name 'Cookie' from 'gluon._compat' (/Users/sugizo
/Downloads/learn/web2py/gluon/_compat.py)

$ python web2py.py
Traceback (most recent call last):
  File "web2py.py", line 21, in <module>
    import gluon.widget
  File "/Users/sugizo/Downloads/learn/web2py/gluon/__init__.py", line 35, in 
<module>
    from .globals import current
  File "/Users/sugizo/Downloads/learn/web2py/gluon/globals.py", line 16, in 
<module>
    from gluon._compat import pickle, StringIO, copyreg, Cookie, urlparse, 
PY2, iteritems, to_unicode, to_native, \
ImportError: cannot import name 'Cookie' from 'gluon._compat' (/Users/sugizo
/Downloads/learn/web2py/gluon/_compat.py)

best regards,
stifan

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to