]> apps.delaporte.us Git - dotfiles.git/blob - doc/jupyter.md
Update to use mate-screensaver and i3lock
[dotfiles.git] / doc / jupyter.md
1
2 ```pwsh
3
4 # Install ipykernel at user level
5 pip install -U ipykernel
6
7 # From https://stackoverflow.com/questions/18734739/using-ipython-jupyter-notebooks-under-version-control
8
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
13 ```
14
15 Did not work
16
17 ```pwsh
18 # Create VirtualEnv
19 python -m venv ~/venvs/jupyter
20 ./venvs/jupyter/Scripts/activate
21 pip install ipykernel
22
23 # Tell jupyter about our virtualenv
24 cd ~/venvs/jupyter
25 python -m ipykernel install --user --name=jupyter
26 ```