create virtual environment in python on mac code example
Example 1: virtual environment mac
1. # Creates the virtual enviroment.
virtualenv venv
2. # Activates virtual enviroment.
source venv/bin/activate
Example 2: create virtualenv python3 mac
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"