A JupyterLab setting procedure A base setting with minimum packages via pip
Since I switched from jupyterlab-lsp to jupyterlab-kite, I updated the memorandum of JupyterLab basic settings by pip.
The old version using jupyterlab-lsp is here.
Prerequisite
python
3.8+nodejs
10+Getting Started JupyterLab installation
Making a virtual environment
> python -m venv ENV
> cd ENV
> Scripts/activate
(ENV) > pip install jupyterlab
Extensions
Extension manager
(ENV) > pip install ipywidgets
(ENV) > jupyter nbextension enable --py widgetsnbextension
(ENV) > jupyter labextension install @jupyter-widgets/jupyterlab-manager
Variable inspector
(ENV) > jupyter labextension install @lckr/jupyterlab_variableinspector
Table of contents
(ENV) > jupyter labextension install @jupyterlab/toc
File tree
(ENV) > jupyter labextension install jupyterlab_filetree
Shortcut key setting user interface
(ENV) > jupyter labextension install @jupyterlab/shortcutui
Notebook-Python-Markdown file synchronization
(ENV) > pip install jupytext --upgrade
(ENV) > jupyter labextension install jupyterlab-jupytext
Version control
(ENV) > pip install --upgrade jupyterlab-git
(ENV) > jupyter lab build
(ENV) > jupyter labextension install @jupyterlab/github
Linter, Autocompletion, Code formatter
(ENV) > jupyter labextension install @ryantam626/jupyterlab_code_formatter
(ENV) > pip install jupyterlab_code_formatter
(ENV) > jupyter serverextension enable --py jupyterlab_code_formatter
(ENV) > jupyter labextension install @krassowski/jupyterlab_go_to_definition
(ENV) > pip install jupyter-kite
(ENV) > jupyter labextension install @kiteco/jupyterlab-kite
Spell checker
(ENV) > jupyter labextension install @ijmbarr/jupyterlab_spellchecker
Other standard packages
(ENV) > pip install numpy pandas matplotlib
Launch
(ENV) > jupyter lab
Recommended Posts