Skip to content

Instantly share code, notes, and snippets.

@contracode
Forked from hughdbrown/jupyter-lab.sh
Created June 11, 2018 23:42
Show Gist options
  • Save contracode/1f6f7d5e7e76878bc1a8a84bb15a9c4f to your computer and use it in GitHub Desktop.
Save contracode/1f6f7d5e7e76878bc1a8a84bb15a9c4f to your computer and use it in GitHub Desktop.
Set up virtualenv and jupyter kernel to run isolated jupyter lab
#!/bin/sh
# Based on:
# http://anbasile.github.io/programming/2017/06/25/jupyter-venv/
mkvirtualenv --python=`which python3` ADRPython
workon ADRPython
pip3 install \
jupyter jupyterlab jupyterthemes \
scipy \
numpy \
pandas \
matplotlib \
seaborn \
datarobot
pip3 install ipykernel
ipython kernel install --user --name=ADRPython-kernel
# Then run with:
# jupyter lab
# or:
# jupyter lab --core-mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment