4 # Install ipykernel at user level
5 pip install -U ipykernel
7 # From https://stackoverflow.com/questions/18734739/using-ipython-jupyter-notebooks-under-version-control
9 # Tell git to clean data out before committing a notebook
10 git config --global core.attributesfile $HOME\dotfiles\files\gitattributes
11 git config --global filter.dropoutput_ipynb.clean ~\dotfiles\util\jupyter_git_clean.py
12 git config --global filter.dropoutput_ipynb.smudge cat
19 python -m venv ~/venvs/jupyter
20 ./venvs/jupyter/Scripts/activate
23 # Tell jupyter about our virtualenv
25 python -m ipykernel install --user --name=jupyter