activate virtualenv use default user python code example Example: create virtual environment python 3 python3 -m venv /path/to/new/virtual/environment