Skip to content

Instantly share code, notes, and snippets.

@hughdbrown
Created November 14, 2017 19:47
Show Gist options
  • Save hughdbrown/a2f321458981043beeaa126db661a647 to your computer and use it in GitHub Desktop.
Save hughdbrown/a2f321458981043beeaa126db661a647 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