Last active
September 14, 2018 09:25
-
-
Save enricorotundo/d051b03da3e179b289171c19917c4ed3 to your computer and use it in GitHub Desktop.
Install JupyterLab with extensions and automatic kernel discovery
This file contains hidden or 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
#!/usr/bin/env bash | |
# Setup conda config | |
wget https://gist.githubusercontent.com/enricorotundo/65218b399bc7bb1c749e2f5cfd571434/raw/e6dc4e80f7894c544b43621d849555233e484f91/.condarc | |
cp .condarc $HOME/.condarc | |
# Install Jupyter and JupyterLab | |
conda install -c conda-forge -y jupyter ipywidgets ipykernel jupyterlab | |
# Enable extensions | |
jupyter nbextension enable --py widgetsnbextension | |
jupyter serverextension enable --py jupyterlab | |
# TODO: add description | |
conda install -y nb_conda_kernels | |
conda install --yes -c conda-forge nbpresent | |
conda install --yes -c conda-forge jupyter_contrib_nbextensions | |
conda install -c conda-forge -y jupyter_nbextensions_configurator |
Previously installed conda envs are not discovered by the script above unless you had the .condarc
setup up
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run with: