安装VBDeepSeek需要以下步骤和前提条件:
Preparação ambiental
- Ambiente Python:需要Python 3.8或更高版本,可从Python官方网站下载安装
- 项目获取:通过Git命令行克隆项目库到本地
git clone https://github.com/vxiaozhi/vocabulary-book-by-deepseek.git
- Instalação dependente:进入项目目录后运行
pip install -r requirements.txt
安装所需依赖库
Configurações principais
- DeepSeek API配置:需注册DeepSeek账号获取API密钥,建议通过环境变量设置
export DEEPSEEK_API_KEY="你的密钥"
而非硬编码 - 目录检查:确认项目包含data/cet4/和result/cet4/目录结构,缺失需手动创建
requisito de rede
运行脚本时需要稳定的网络连接,因为所有词汇分析功能都依赖DeepSeek的API接口服务。
Configurações opcionais
用户可以根据需要修改脚本参数,如调整输出图片的分辨率、JSON文件路径或Markdown文章模板等。
Essa resposta foi extraída do artigoVBDeepSeek: uma ferramenta de código aberto para gerar materiais de estudo de palavras da 4ª série usando o DeepSeekO