mac python virtual env 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)"