Skip to content

Instantly share code, notes, and snippets.

@tchen
Created December 2, 2016 15:26
Show Gist options
  • Save tchen/970ac457ab03f274a68dd22703f0f2dc to your computer and use it in GitHub Desktop.
Save tchen/970ac457ab03f274a68dd22703f0f2dc to your computer and use it in GitHub Desktop.
Py3 Virtual Environment bootstrap
# https://docs.python.org/3/library/venv.html
# Under Ubuntu Xenial64, install the following package before getting started
sudo apt-get install python3-venv
# Usage: python3 -m venv [directory]
python3 -m venv ~/env/web
. ~/env/web/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
# - or -
pip install tornado boto3 ...
# (etc.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment