Introdução ao Python3 e Jupyter Notebook no Linux

Baixar

https://www.python.org/ftp/python/3.5.3/Python-3.5.3.tgz

Extrair

tar -xvzf Python-3.5.3.tgz

Instalar

cd Python-3.5.3
./configure --prefix=/usr/tmp/python35/install/
make install

cd
/usr/tmp/python35/install/bin
ln
-sf python3 python -v

Ambiente Virtual

/usr/tmp/python35/install/bin/python3 -m venv --symlinks jupyter /usr/tmp/python35/pyenv/jupyter/
cd
/usr/tmp/python35/pyenv/jupyter/
export PATH=/usr/tmp/python35/pyenv/jupyter/bin:$PATH

Instale o Jupyter

pip install jupyter

Habilitar extensões

jupyter nbextension enable --py --sys-prefix widgetsnbextension

Notebook de lançamento

jupyter-notebook --debug --notebook-dir ~/

Aproveite o Notebook Jupyter

jupyter.png