Requirements

  • Python 3
  • Pip 3

$ brew install python3

Pip3 is installed with Python3

Installation

To install virtualenv via pip run:

$ pip3 install virtualenv

Usage

Creation of virtualenv:

$ virtualenv -p python3

Activate the virtualenv:

$ source /bin/activate

Deactivate the virtualenv:

$ deactivate

2 thoughts on “Python3 Virtualenv Setup

Leave a Reply

Your email address will not be published. Required fields are marked *