tips:jupyter

Jupyter

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

add bash kernel

pip install bash_kernel
python -m bash_kernel.install

start bash console

console --kernel bash
 

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

pip install nodeenv
nodeenv --python-virtualenv 

TODO nodejs kernel

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
  • tips/jupyter.txt
  • Last modified: 2018/03/29 11:20
  • by scipio