Jupyter

setup

setup virtual environment

sudo apt install python3-virtualenv
mkdir <path_to_project>
cd <path_to_project>
virtualenv -p python3 lib
source lib/bin/activate
pip install -U pip wheel
pip install -U jupyter

bash kernel

add bash kernel

pip install bash_kernel
python -m bash_kernel.install

start bash console

nodejs

pre-requisite: python virtualenv need to be “virtualenv”, not “venv”

pip install nodeenv
nodeenv --python-virtualenv

TODO nodejs kernel

tensor flow

tensor flow

pip install tensorflow

daily job

cd <path_to_project>
source lib/bin/activate
jupyter notebook

https://github.com/goatchurchprime/jupyter_micropython_kernel/

git clone https://github.com/goatchurchprime/jupyter_micropython_kernel.git
pip install -e jupyter_micropython_kernel
python -m jupyter_micropython_kernel.install

widgets

pip install ipywidgets
jupyter nbextension enable --py widgetsnbextension

turtle docs

pip install https://github.com/takluyver/mobilechelonian/archive/master.zip

run jupyter

jupyter notebook