@@ -92,7 +92,7 @@ is installed add common-lisp-jupyter via `(ql:quickload :common-lisp-jupyter)`.
92
92
` (ql:update-dist "quicklisp") ` inside a ` ros run ` shell to resolve package
93
93
conflicts.
94
94
95
- - Add the PATH in the initialization file (such as ` ~/.bashrc ` )
95
+ - Add the PATH in the initialization file (such as ` ~/.bashrc ` - if using ` jupyter-hub ` , see ** note ** below )
96
96
``` sh
97
97
export PATH=$PATH :~ /.roswell/bin
98
98
```
@@ -102,6 +102,18 @@ export PATH=$PATH:~/.roswell/bin
102
102
ros install common-lisp-jupyter
103
103
```
104
104
105
+ ** note:** if using jupyter-hub's default set-up:
106
+ * You must run the ` ros install common-lisp-jupyter ` command for each user who will use lisp.
107
+ * Edit ` /home/${USER}/.local/share/jupyter/kernels/common-lisp/kernel.json ` , adding:
108
+
109
+ ``` json
110
+ "env" : {
111
+ "PATH" : " ${PATH}:${HOME}/.roswell/bin"
112
+ }
113
+ ```
114
+
115
+ so that jupyter-lab can find the lisp binaries. Note: ` ~/.roswell/bin ` will not expand properly.
116
+
105
117
### Running common-lisp-jupyter
106
118
107
119
common-lisp-jupyter may be run from a local installation in console mode by the
0 commit comments