create a virtual environment terminal mac code example Example: activate venv in mac source venv/bin/activate