Skip to content

Instantly share code, notes, and snippets.

@hohl
Last active January 17, 2020 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hohl/66a20c550ac292c85e10148f0695b5a7 to your computer and use it in GitHub Desktop.
Save hohl/66a20c550ac292c85e10148f0695b5a7 to your computer and use it in GitHub Desktop.
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
# Press [ENTER]
sudo apt-get install python3.7 python3.7-{dev,venv,distutils}
# Then create a virtual environment, for ex.:
mkdir ~/venvs && cd ~/venvs
python3.7 -m venv tf21
source tf21/bin/activate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment