how to install virtual enviroment for python code example Example 1: activate venv source env/bin/activate Example 2: start python virtual activate venv