]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Add jupyter hints
authorEdward Delaporte <delaport@illinois.edu>
Wed, 14 Feb 2024 20:53:02 +0000 (14:53 -0600)
committerEdward Delaporte <delaport@illinois.edu>
Wed, 14 Feb 2024 20:53:02 +0000 (14:53 -0600)
doc/jupyter.md [new file with mode: 0644]

diff --git a/doc/jupyter.md b/doc/jupyter.md
new file mode 100644 (file)
index 0000000..6bd31c7
--- /dev/null
@@ -0,0 +1,22 @@
+
+```pwsh
+
+# Install ipykernel at user level
+pip install -U ipykernel
+
+# Tell git to clean data out before committing a notebook
+cp ~/dotfiles/files/gitattributes ~/.gitattributes
+```
+
+Did not work
+
+```pwsh
+# Create VirtualEnv
+python -m venv ~/venvs/jupyter
+./venvs/jupyter/Scripts/activate
+pip install ipykernel
+
+# Tell jupyter about our virtualenv
+cd ~/venvs/jupyter
+python -m ipykernel install --user --name=jupyter
+```