Lesson 2 / 47
Install Python
Get Python 3.10+ and an isolated environment.
Check / install
You want 3.10 or newer.
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.
python3 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install requests