[PYTHON] You may need git to install the jupyter lab extension

Tips for building an environment related to jupyter lab. This is a memo for February 2020.

Premise

Windows10, anaconda (miniconda)

python 3.7.6 jupyterlab 1.2.6 nodejs 13.8.0

conda install -c conda-forge jupyterlab conda install -c conda-forge nodejs

It is an environment created by.

Cannot be installed

Even if I install node.js according to the instructions, the extension installation fails. There was such a description in the error log.

jupyterlab-debug-xxxxxxxx.log


......
yarn install v1.15.2
[1/5] Validating package.json...
[2/5] Resolving packages...
error Couldn't find the binary git
......

As an unspecified prerequisite, it seems that you may need to be able to use git on the command line. (Don't ask why git isn't included in the first place)

Countermeasures

It's easy, but git is also included with conda.

conda install git

jupyter labextension install @jupyter-widgets/jupyterlab-manager k3d

You can now install the extension without any errors.

Recommended Posts

You may need git to install the jupyter lab extension
You may need git to install the jupyter lab extension
How do you collect information?
Can you delete the file?
[Simplified version] How to export the minimum reading meter recording information
How to Git from GCP's Jupyter Lab to GSR
Install Python Jupyter lab
Description and summary of what you need to install Chainer on Mac
Build the execution environment of Jupyter Lab
In Jupyter, add IPerl to the kernel.
Let's make jupyter lab easy to use
IMPORTANT: You may need to close and restart your shell after running'conda init'.
If you want to enter the virtual environment with jupyter, nb_conda_kernels is recommended