Requirements Python 3 Pip 3 $ brew install python3 Install via pip: $ pip3 install virtualenv Usage Creation of virtualenv: $ virtualenv -p python3 . (for same directory) Activate the virtualenv: $ source bin/activate Deactivate the virtualenv: $ deactivate