how to only install in venv code example Example 1: how to use virtual environment python source env/bin/activate Example 2: how to make virtual environment virtualenv mypython