tested on docker with ubuntu image no problem with python 2 and python 3
*e.g.*
*python 2 docker ubuntu image*
docker pull ubuntu
docker run -it ubuntu /bin/bash

apt update
apt install -y  python-pip unzip wget
pip install ipython
wget -c http://web2py.com/examples/static/web2py_src.zip 
unzip -o web2py_src.zip

root@44b18a5a6a7a:/# ipython
Python 2.7.15rc1 (default, Apr 15 2018, 21:51:34)
Type "copyright", "credits" or "license" for more information.

IPython 5.7.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]:
Do you really want to exit ([y]/n)? 
root@44b18a5a6a7a:/# web2py/web2py.py -S welcome
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2018
Version 2.16.1-stable+timestamp.2017.11.14.05.54.25
Database drivers available: sqlite3, imaplib, pymysql, pg8000
Python 2.7.15rc1 (default, Apr 15 2018, 21:51:34)
Type "copyright", "credits" or "license" for more information.

IPython 5.7.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.


*python 3 docker ubuntu image*
docker pull ubuntu
docker run -it ubuntu /bin/bash

apt update
apt install -y  python3-pip unzip wget
pip3 install ipython
wget -c http://web2py.com/examples/static/web2py_src.zip 
unzip -o web2py_src.zip

root@44b18a5a6a7b:/# ipython
Python 3.6.5 (default, Apr  1 2018, 05:46:30)
Type 'copyright', 'credits' or 'license' for more information
IPython 6.4.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]:
Do you really want to exit ([y]/n)? 
root@44b18a5a6a7b:/# python3 web2py/web2py.py -S welcome
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2018
Version 2.16.1-stable+timestamp.2017.11.14.05.54.25
Database drivers available: sqlite3, imaplib, pymysql, pg8000
Python 3.6.5 (default, Apr  1 2018, 05:46:30)
Type 'copyright', 'credits' or 'license' for more information
IPython 6.4.0 -- An enhanced Interactive Python. Type '?' for help.

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