📚 1. 环境准备
✅ 步骤一:安装Python
- 推荐使用 Python官方下载页 获取最新稳定版
- 建议安装 Python 3.8-3.11 版本
- 安装时勾选 Add to PATH 选项
✅ 步骤二:选择深度学习框架
- 🤖 TensorFlow:TensorFlow官网
- 🧠 PyTorch:PyTorch官方文档
- 📊 Jupyter Notebook:Jupyter安装指南
🛠 2. 环境配置
🔧 使用 pip
安装依赖:
pip install tensorflow torch jupyter
🔧 验证安装:
import tensorflow as tf
print(tf.__version__)
import torch
print(torch.__version__)
📁 3. 开发工具推荐
- 📈 Jupyter Notebook:交互式编程首选
- 🖥 VS Code:支持AI代码补全
- 📦 Anaconda:科学计算环境管理