Skip to content

Instantly share code, notes, and snippets.

@anderson-custodio
Last active December 10, 2018 16:28
Show Gist options
  • Save anderson-custodio/3e0f148ed4376af6b6d5bef98d6a0b71 to your computer and use it in GitHub Desktop.
Save anderson-custodio/3e0f148ed4376af6b6d5bef98d6a0b71 to your computer and use it in GitHub Desktop.
How to install virtualenv

1. How to install virtualenv:

1.1. Install pip

  sudo apt install python3-pip

1.2. Install virtualenv:

  pip3 install virtualenv

2. Using virtualenv:

2.1. Creating your virtualenv

  virtualenv -p python3 venv

2.2. Activating your virtualenv

  source venv/bin/activate

2.3. Deactivating your virtualenv

  deactivate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment