Skip to content

Instantly share code, notes, and snippets.

@messefor messefor/newenv.sh
Created May 1, 2019

Embed
What would you like to do?
#! /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
You can’t perform that action at this time.