Local Setup 🖥️
Use this guide if you prefer to run everything on your own laptop.
You have two paths: (A) native Python + virtual-env or (B) VS Code Dev Container with Docker.
Choose whichever feels easier—both lead to the same lessons.
如果你更愿意把一切都跑在自己的笔记本上,就用这份指南。有两条路可选:(A) 原生 Python + 虚拟环境,或 (B) 配合 Docker 的 VS Code Dev Container。哪条顺眼选哪条,最终都通向同一套课程。
1. Prerequisites
| Tool | Version / Notes |
|---|---|
| Python | 3.10 + (get it from https://python.org) |
| Git | Latest (comes with Xcode / Git for Windows / Linux package manager) |
| VS Code | Optional but recommended https://code.visualstudio.com |
| Docker Desktop | Only for Option B. Free install: https://docs.docker.com/desktop/ |
💡 Tip – Verify tools in a terminal:
python --version,git --version,docker --version,code --version
提示:在终端里用 python --version、git --version、docker --version、code --version 检查工具是否装好。
2. Option A – Native Python (quickest)
Step 1 Clone this repo
bash