# Install Python — Python

Source: https://www.geekswithgeeks.com/en/python/py-setup

> Get Python 3.10+ and an isolated environment.

## Check / install

You want 3.10 or newer.

```bash
python3 --version

# macOS:   brew install python
# Ubuntu:  sudo apt install python3 python3-venv python3-pip
# Windows: python.org installer, tick "Add to PATH"
```

## Virtual environment

Keep each project's packages isolated.

```bash
python3 -m venv .venv
source .venv/bin/activate   # Windows: .venv\Scripts\activate
pip install requests
```
