Show More
@@ -66,10 +66,15 b" Note that this command will create new configuration for kernel in one of it's p" | |||
|
66 | 66 | * in Jupyter's env (sys.prefix/share), |
|
67 | 67 | * per-user (~/.local/share or ~/Library/share) |
|
68 | 68 | |
|
69 | In case where you want to edit generated kernelspec configuration before installing it you can do the same with two steps approach. You can create configuration in temporary location and install it in Jupyter (copy configuration files) with: | |
|
69 | If you want to edit the kernelspec before installing it, you can do so in two steps. | |
|
70 | First, ask IPython to write its spec to a temporary location: | |
|
70 | 71 | |
|
71 | 72 | .. sourcecode:: bash |
|
72 | 73 | |
|
73 | 74 | ipython kernel install --prefix /tmp |
|
74 | jupyter kernelspec install /tmp/share/jupyter/kernels/python3 | |
|
75 | 75 | |
|
76 | edit the files in /tmp/share/jupyter/kernels/python3 to your liking, then when you are ready, tell Jupyter to install it (this will copy the files into a place Jupyter will look): | |
|
77 | ||
|
78 | .. sourcecode:: bash | |
|
79 | ||
|
80 | jupyter kernelspec install /tmp/share/jupyter/kernels/python3 |
General Comments 0
You need to be logged in to leave comments.
Login now