Skip to content

Instantly share code, notes, and snippets.

@riegie
Last active May 9, 2019 16:33
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 riegie/816001c456406be9208982442c22768d to your computer and use it in GitHub Desktop.
Save riegie/816001c456406be9208982442c22768d to your computer and use it in GitHub Desktop.
Create virtual environments with venv in Python 3
Python3 Virtual Environment Setup
Requirements
* Python 3
$ brew install python3
Creation of virtual environment:
$ python3 -m venv /path/to/new/virtual/environment
Activate the virtual environment:
$ source <desired-path>/bin/activate
Deactivate the virtual environment:
$ deactivate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment