how do i create a virtual environment in python 3 ubuntu code example Example: create a virtual environment python 3 python3 -m venv /path/to/new/virtual/environment