source virtualenv activate 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: activate venv in mac
source venv/bin/activate