Skip to content

Instantly share code, notes, and snippets.

@Gregivy
Last active July 6, 2021 13:28
Show Gist options
  • Save Gregivy/957cd09fde8e210ef861099c27413cc1 to your computer and use it in GitHub Desktop.
Save Gregivy/957cd09fde8e210ef861099c27413cc1 to your computer and use it in GitHub Desktop.
Jupyter Lab for DL & CV
#!/bin/bash
if ! command -v node &> /dev/null
then
echo "NodeJS could not be found! Need NodeJS >=12"
else
currentver="$(node -v)"
requiredver="12.0.0"
if [ "$(printf '%s\n' "$requiredver" "$currentver" | sort -V | head -n1)" = "$requiredver" ]; then
echo "NodeJS ${currentver} found"
else
echo "NodeJS >=12 could not be found! Installed version ${currentver}"
fi
fi
pip install jupyterlab==3.0.14
ipython profile create
echo 'c.Completer.use_jedi = False' >> ~/.ipython/profile_default/ipython_kernel_config.py
pip install ipywidgets \
jupyterlab-git \
jupyter-archive \
ipydrawio \
ipydrawio-export \
pandas \
jupyterlab-python-file \
lckr-jupyterlab-variableinspector \
k3d \
jupyterlab-kite \
jupyterlab-katex \
matplotlib \
ipympl
jupyter labextension install jupyterlab-datawidgets
jupyter lab build
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment