Windows 10 系统上安装和部署 DeepSeek 模型的详细步骤
)
1. 系统要求
- 操作系统:Windows 10 专业版(64位)
- Python:3.8 或更高版本(推荐 3.12.4)
- 数据库:MySQL 8.0 或更高版本(推荐 Ver 14.14)
- 工具:Git、pip、virtualenv
- 硬件:建议 8GB 以上内存,支持 CUDA 的 GPU(如需 GPU 加速)
2. 安装基础工具
2.1 安装 Python
- 访问 Python 官网,下载 Python 3.12.4 Windows 安装包。
- 运行安装程序,勾选 “Add Python to PATH”,点击 “Install Now” 完成安装。
- 验证安装:
输出应为python --version
Python 3.12.4
。
2.2 安装 MySQL
- 访问 MySQL 官网,下载 MySQL Community Server 8.0。
- 运行安装程序,选择 “Custom” 安装类型,确保勾选 MySQL Server 和 MySQL Workbench。
- 安装过程中设置 root 用户密码(例如
root123
)。 - 验证安装:
输出应显示 MySQL 版本号。mysql --version
2.3 安装 Git
- 访问 Git 官网,下载 Windows 版 Git。
- 运行安装程序,保持默认配置,完成安装。
- 验证安装: