-
-
Save contracode/1f6f7d5e7e76878bc1a8a84bb15a9c4f to your computer and use it in GitHub Desktop.
Set up virtualenv and jupyter kernel to run isolated jupyter lab
This file contains 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