Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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