install virtualenv on mac code example
Example 1: install virtualenv
pip install virtualenv
activate it by doing this:
cd myproject/Scripts/activate
Example 2: virtual environment mac
1. # Creates the virtual enviroment.
virtualenv venv
2. # Activates virtual enviroment.
source venv/bin/activate
Example 3: activate venv in mac
source venv/bin/activate