Skip to content

Instantly share code, notes, and snippets.

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