# Example 17.2 - A virtual environment  |  What's Python? Learn It in 8 Hours

python3 -m venv .venv          # create it, once per project

# activate it — the command differs by system:
source .venv/bin/activate      # macOS / Linux
.venv\Scripts\activate         # Windows

python3 -m pip install requests   # now installs *into* .venv only
