Last active
November 1, 2020 14:22
-
-
Save adcoh/44d34cd29d0eea0c38384a3b41193f69 to your computer and use it in GitHub Desktop.
An easy shell script to install Jupyter Lab and register your project venv as a kernel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install --upgrade pip | |
pip install upgrade jupyterlab | |
pip install autopep8 | |
pip install --upgrade jupyterlab-git | |
venv_root_dir=${PWD##*/} | |
python -m ipykernel install --user --name=$venv_root_dir | |
pip install ipywidgets | |
jupyter nbextension enable --py widgetsnbextension --sys-prefix | |
jupyter labextension install @jupyter-widgets/jupyterlab-manager | |
jupyter labextension install jupyterlab-execute-time | |
jupyter serverextension enable --py jupyterlab_git | |
jupyter lab build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment