Created
November 14, 2017 19:47
-
-
Save hughdbrown/a2f321458981043beeaa126db661a647 to your computer and use it in GitHub Desktop.
Set up virtualenv and jupyter kernel to run isolated jupyter lab
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
#!/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