[PYTHON] Windows: JupyterLab settings memorandum

JupyterLab settings

Anaconda installation

https://www.anaconda.com/

Launch Jupyter Lab from Anaconda Manager

Enable extensions

Left menu-> Commands-> Extentions Manager-> Enable Extension Manager-> Enable

If nodejs is not installed

Install the LTS version from Node.js. Windows restart.

Lab installed from anaconda is 1.26, so upgrade to ver2. (Reference)

To version2


$ pip install --upgrade jupyterlab

With version 2, you can install the monokai theme from the extension. The vim operation is also changed to the one for version 2.

Below are past articles. -------------------------------------

Install vim operation extension ##### (for version 1)

Left menu-> Extension Manager-> jwkvam / jupyterlab-vim-> install

Create a shortcut for Jupyter Lab.

    1. Start Menu-> Anaconda3-> Jupyter Notebook on your desktop with D & D. Created shortcut-> Properties-> Copy link destination.
  1. Desktop right click-> New-> Shortcut Paste the content you copied earlier to the link destination. Changed "jupyter-notebook-script.py" part to "jupyter-lab-script.py"-> Next Give it a name and finish. ――――――――――――――――――――――――――――――――――――――

The following bonus: Install the Jupyter notebook extension

Installing the extension nbextentions

From the command prompt


> conda install -c conda-forge jupyter_contrib_NbExtensions

When you launch jupyter notobook, the "nbextentions" tab is added.

vim operation

Install jupyter-vim-binding

From the command prompt


#Move to nbextentions folder
> cd C:\ProgramData\Anaconda3\share\jupyter\nbextensions

# jupyter-vim-Download binding
> git clone https://github.com/lambdalisue/jupyter-vim-binding

nbextentions tab-> Vim binding check.

Code completion

nbextentions tab-> Hinterland check. ―――――――――――――――――――――――――――――――――――――― Afterword After installing and setting the jupyter notebook, I noticed that the successor Lab was released ...

Recommended Posts

Windows: JupyterLab settings memorandum
Linux, Windows proxy settings
Anaconda 4.4.0 Initial Settings for Windows
Various Anaconda settings in Windows 10 environment
JupyterLab3.0 Debugger Installation Method for Windows