how to activate a virtual environment virtualenv code example Example 1: start python virtual activate venv Example 2: virtual environment python python3 -m venv env