1 2 3
| pip install jupyterlab
|
1. 参考文档
- Installing the Jupyter
Software
- Jupyter
kernels
https://github.com/conda-forge/miniforge
2. kernel
2.1. IJulia
1 2 3
| add IJulia using IJulia notebook()
|
https://github.com/JuliaLang/IJulia.jl
2.2. C
1
| pip install jupyter-cpp-kernel
|
https://github.com/shiroinekotfs/jupyter-cpp-kernel
2.3. IR
1 2 3
| install.packages('IRkernel') IRkernel::installspec(user = FALSE) jupyter labextension install @techrah/text-shortcuts
|
2.4. dot-kernel
1 2
| pip install dot_kernel install-dot-kernel
|
https://github.com/laixintao/jupyter-dot-kernel
2.5. octave
1
| pip install octave-kernel
|
https://github.com/calysto/octave_kernel
2.6. kotlin-jupyter
1
| pip install kotlin-jupyter-kernel
|
https://github.com/Kotlin/kotlin-
2.7. java
1
| java -jar ganymede-2.1.2.20230910.jar -i
|
https://github.com/allen-ball/ganymede
2.8. other
https://github.com/jupyter/jupyter/wiki/Jupyter-kernels
3. 设置默认起始目录
- 使用 shell 打开配置文件
1 2 3 4
| jupyter notebook --generate-config
vim ~/.jupyter/jupyter_notebook_config.py
|
- 取消
c.NotebookApp.notebook_dir
注释,即删除行前#
符号
- 将要设置的默认起始目录填入后面的引号之中。