## Python 依赖安装(Windows) 打开 PowerShell(开始菜单搜「powershell」→ 右键以管理员身份运行) ### Step 1: 安装 Python 3.11+ 如果还没装: 1. 访问 https://www.python.org/downloads/windows/ 2. 下载 Python 3.11 或 3.12 的 Windows installer (64-bit) 3. 安装时务必勾选「Add Python to PATH」 4. 验证:PowerShell 里跑 `python --version`,应该看到 3.11.x 或 3.12.x ### Step 2: 安装 skill 需要的 Python 包 ```powershell pip install openpyxl python-docx requests pandas ``` 如果 pip 慢,用国内镜像: ```powershell pip install openpyxl python-docx requests pandas -i https://pypi.tuna.tsinghua.edu.cn/simple ``` ### Step 3: 验证 ```powershell python -c "import openpyxl, docx, pandas, requests; print('OK')" ``` 输出 `OK` 即可。 ### 用途说明 - `openpyxl`:huashu-data-pro 生成 Excel 报告 - `python-docx`:huashu-doc-reviewer 读取/写入 Word 文档 - `pandas`:数据处理 - `requests`:调用本地 LLM API