Skip to content

Instantly share code, notes, and snippets.

@esynr3z
Last active February 12, 2020 13:29
Show Gist options
  • Save esynr3z/ad5b115ed1d4c1928e8d4872dc66290e to your computer and use it in GitHub Desktop.
Save esynr3z/ad5b115ed1d4c1928e8d4872dc66290e to your computer and use it in GitHub Desktop.
Script to setup Jupyter playground in virtual environment
#!/bin/bash
# Create virtual environment
virtualenv .venv
# Install Jupyter Notebook
.venv/bin/pip install jupyter notebook tornado\<6
# Install scientific packages
.venv/bin/pip install numpy scipy matplotlib
# Install Jupyter Themes
.venv/bin/pip install jupyterthemes
.venv/bin/jt -t onedork -T
# Install Jupyter Notebook Extensions
.venv/bin/pip install jupyter_contrib_nbextensions autopep8
.venv/bin/jupyter contrib nbextension install --user
.venv/bin/jupyter nbextension enable code_prettify/autopep8
.venv/bin/jupyter nbextension enable scratchpad/main
.venv/bin/jupyter nbextension enable toc2/main
.venv/bin/jupyter nbextension enable varInspector/main
.venv/bin/jupyter nbextension enable hide_input/main
.venv/bin/jupyter nbextension enable hide_input_all/main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment