A JupyterLab setting procedure A base setting with minimum packages via pip Il s'agit du paramètre de base de Jupyter Lab par pip. Prerequisite
python
3.8+nodejs
10+Getting Started JupyterLab installation
$ python -m venv /path/to/new/virtual/environment
$ cd /path/to/new/virtual/environment
$ pip install jupyterlab
Extensions
$ pip install ipywidgets
$ jupyter nbextension enable --py widgetsnbextension
$ jupyter labextension install @jupyter-widgets/jupyterlab-manager
$ jupyter labextension install @lckr/jupyterlab_variableinspector
$ jupyter labextension install @jupyterlab/toc
$ jupyter labextension install jupyterlab_filetree
$ jupyter labextension install @krassowski/jupyterlab_go_to_definition
$ pip install jupyter-lsp
$ jupyter labextension install @krassowski/jupyterlab-lsp
$ pip install python-language-server[all]
$ jupyter labextension install @ryantam626/jupyterlab_code_formatter
$ pip install jupyterlab_code_formatter
$ jupyter serverextension enable --py jupyterlab_code_formatter
$ pip install jupytext --upgrade
$ jupyter labextension install jupyterlab-jupytext
$ pip install --upgrade jupyterlab-git
$ jupyter lab build
$ jupyter labextension install @jupyterlab/github
$ jupyter labextension install @jupyterlab/shortcutui
Other standard packages
$ pip install numpy pandas scipy matplotlib seaborn statsmodels
Launch
$ jupyter lab
Save requirements file
$ pip freeze > requirements.txt
Recommended Posts