macos virtual env how to activate 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