这节课在 第三课(Claude Design + Code)基础上新增两个工具:Git + Python 3。yfinance 课后做跟我做练习时由 Claude Code 帮你安装,不用提前装。
预计准备时间:10 分钟。
This session adds two tools on top of Session 3 (Claude Design + Code): Git and Python 3. yfinance will be installed by Claude Code when you do the post-class follow-along exercise — no need to pre-install.
Estimated setup time: 10 minutes.
claude --version 有输出)Claude Code installed and running (claude --version shows output)如果 Claude Code 还没装,先按第二课课前准备的第一步装好 Claude Code,再回来继续。If Claude Code is not installed yet, follow Step 1 of the Session 2 pre-class setup to install it, then come back here.
| 工具Tool | 用途Purpose | 费用Cost |
|---|---|---|
| Git ⭐ 必装Required | 本地版本控制;Claude Code 内部也依赖它Local version control; Claude Code relies on it internally | 免费Free |
| Python 3 ⭐ 必装Required | 课程数据拉取脚本(ticker_scan.py)的运行环境;yfinance 上课时由 Claude Code 帮你装Runtime for the course data script (ticker_scan.py); yfinance will be installed by Claude Code during class |
免费Free |
git --version
xcode-select --install
git --version
git version 2.x.x 即为成功。
✅ You should see something like git version 2.x.x — that means success.
打开终端 / PowerShell,输入:Open Terminal / PowerShell and type:
python --version
如果看到 Python 3.x.x,跳到 3b 直接装 yfinance。
如果报错或显示 Python 2,按下方步骤安装。
If you see Python 3.x.x, skip to 3b and install yfinance directly.
If it errors or shows Python 2, follow the steps below to install.
python --versionAfter installation, open a new PowerShell window and run python --versionbrew install python
(没有 Homebrew?先运行 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)")
(No Homebrew? First run /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)")
python3 --versionVerify: python3 --versionpython --version 显示 Python 3.x.x 即成功。yfinance 上课时 Claude Code 帮你装。
✅ Verify: python --version shows Python 3.x.x — that's all you need. yfinance will be installed by Claude Code during class.
claude --version # Claude Code 正常Claude Code working
git --version # Git 已装Git installed
python --version # Python 3.x
yfinance 不用提前验证,上课时 Claude Code 安装后再验。No need to verify yfinance in advance — Claude Code installs it during class.
claude --version 正常Claude Pro active, claude --version worksgit --version 有输出Git installed, git --version shows outputpython --version 显示 Python 3.xpython --version shows Python 3.x✅ 三项全 OK,上课见!(yfinance 做课后跟我做练习时 Claude Code 帮你装)✅ All three done — see you in class! (yfinance will be installed by Claude Code when you do the post-class follow-along exercise)
Session 4 · AI 炒股分析系统——从方法论到可运行 Skill
Austin Xu · 北美华人 Claude AI 课程 ·
elitecoach101.com
Session 4 · AI Stock Analysis System: From Framework to Runnable Skill
Austin Xu · Claude AI Course for North American Chinese Professionals ·
elitecoach101.com