diff options
author | jgart | 2021-09-13 12:34:40 -0400 |
---|---|---|
committer | jgart | 2021-09-13 12:34:40 -0400 |
commit | 6da904ad7a712ca47d4da266efa188a2d4153690 (patch) | |
tree | 9a47e45f0abb42944fd4653bb21c7633a4552f59 /topics/notebooks | |
parent | a647c58cdf1adf17711bdceea6b2c256c9d47da3 (diff) | |
download | gn-gemtext-6da904ad7a712ca47d4da266efa188a2d4153690.tar.gz |
Adds --ad-hoc to guix environment command
Python dependencies are not available unless I use --ad-hoc or -m
Diffstat (limited to 'topics/notebooks')
-rw-r--r-- | topics/notebooks/jupyter.gmi | 9 |
1 files changed, 8 insertions, 1 deletions
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 ``` |