Skip to content

Instantly share code, notes, and snippets.

@messefor
Created May 1, 2019 08:44
Show Gist options
  • Save messefor/128a4ecce232a933d40c44494ac88f75 to your computer and use it in GitHub Desktop.
Save messefor/128a4ecce232a933d40c44494ac88f75 to your computer and use it in GitHub Desktop.
#! /bin/bash
env_name=$1
env_dir=venv
python3 -m venv $env_dir
source $env_dir/bin/activate
pip install --upgrade pip
pip install scipy
pip install numpy pandas
pip install matplotlib
pip install jupyter
# python -m jupyter kernelspec uninstall $env_name
python -m ipykernel install --user --name $env_name
pip freeze > requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment