jose@VM-ubu1804x64:~/python-environments$ python3 -m venv w2p_test
jose@VM-ubu1804x64:~/python-environments$ workon w2p_test
(w2p_test) jose@VM-ubu1804x64:~/python-environments$ pip3 install ipython
(w2p_test) jose@VM-ubu1804x64:~/python-environments$ 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)? y
(w2p_test) jose@VM-ubu1804x64:~/python-environments/w2p_test/lib/web2py$ python web2py.py -S welcome
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2018
Version 2.16.1-stable+timestamp.2018.06.02.04.50.21
Database drivers available: sqlite3, imaplib, pymysql
WARNING:web2py:import IPython error; use default python shell. Exception was: list index out of range <-- I edited line 329 of gluon/shell.py to display the Exception thrown here.
Python 3.6.5 (default, Apr 1 2018, 05:46:30)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>>
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.
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.
'import IPython error; use default python shell')
docker pull ubuntu
docker run -it ubuntu /bin/bash
apt update
apt install -y python-
pip unzip wget
pip install ipython
wget -c https://mdipierro.pythonanywhere.com/examples/static/nightly/web2py_src.zip
unzip -o web2py_src.zip
root@c989eef9003b:/# 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@c989eef9003b:/# web2py/web2py.py -S welcome
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2018
Version 2.16.1-stable+timestamp.2018.06.02.04.50.21
Database drivers available: sqlite3, imaplib, pymysql
WARNING:web2py:import IPython error; use default python shell
Python 2.7.15rc1 (default, Apr 15 2018, 21:51:34)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>>
docker pull ubuntu
docker run -it ubuntu /bin/bash
apt update
apt install -y python3-
pip unzip wget
pip3 install ipython
wget -c https://mdipierro.pythonanywhere.com/examples/static/nightly/web2py_src.zip
unzip -o web2py_src.zip
root@9454510a3068:/# 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@9454510a3068:/# python3 web2py/web2py.py -S welcome
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2018
Version 2.16.1-stable+timestamp.2018.06.02.04.50.21
Database drivers available: sqlite3, imaplib, pymysql
WARNING:web2py:import IPython error; use default python shell
Python 3.6.5 (default, Apr 1 2018, 05:46:30)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>>