activate python virtual environment in terminal code example Example: how to use virtual environment python python3 -m venv env