From 6da904ad7a712ca47d4da266efa188a2d4153690 Mon Sep 17 00:00:00 2001 From: jgart Date: Mon, 13 Sep 2021 12:34:40 -0400 Subject: Adds --ad-hoc to guix environment command Python dependencies are not available unless I use --ad-hoc or -m --- topics/notebooks/jupyter.gmi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'topics/notebooks') diff --git a/topics/notebooks/jupyter.gmi b/topics/notebooks/jupyter.gmi index ada4467..03979cc 100644 --- a/topics/notebooks/jupyter.gmi +++ b/topics/notebooks/jupyter.gmi @@ -13,7 +13,14 @@ jupyter notebook --notebook-dir=. --no-browser or, even better, in a container ``` -~/opt/guix-latest/bin/guix environment -C --network jupyter python-pandas vim tree +guix environment -C --network --ad-hoc jupyter python-pandas +jupyter notebook --notebook-dir=~/jupyter --no-browser --port=8989 --config=~/.jupyter.py +``` + +or, with a manifest + +``` +guix environment --container --network -m requirements.scm jupyter notebook --notebook-dir=~/jupyter --no-browser --port=8989 --config=~/.jupyter.py ``` -- cgit v1.2.3