Files
douyin_guaji-main/requirements.txt
T
Your Name 1a63852bde feat: Add dependency management tools and enhance logging features
- Introduced `check_dependencies.py` to automate dependency checks and provide installation guidance.
- Created `install_dependencies.py` for automatic installation of missing dependencies.
- Updated `config.json` to include new logging settings for log retention and date-based log file management.
- Added `DEPENDENCY_GUIDE.md` and `DEPENDENCY_FIXES_REPORT.md` for comprehensive documentation on dependency management and fixes.
- Enhanced logging functionality in `douyin_logging.py` to support date-based log files and automatic cleanup of old logs.
2025-12-21 22:40:56 +08:00

42 lines
1.4 KiB
Plaintext

# 抖音福袋挂机项目 - Python依赖清单
# Python版本要求: >= 3.8
# ========== 核心必需依赖 ==========
# 图片处理
Pillow>=9.0.0
# 数值计算(OCR和图像处理需要)
numpy>=1.20.0
# 计算机视觉库(图像处理、模板匹配等)
opencv-python>=4.5.0
# OCR识别 - PaddleOCR(主要OCR引擎)
paddleocr>=2.7.0
# 深度学习框架(PaddleOCR的依赖)
# 注意:PaddleOCR会自动安装paddlepaddle,但为了确保版本兼容性,建议显式安装
paddlepaddle>=2.5.0,<3.0.0
# ========== GUI相关依赖 ==========
# 现代化GUI框架(可选,如果未安装会自动回退到原生tkinter)
ttkbootstrap>=1.10.0
# ========== 可选依赖(提升性能) ==========
# EasyOCR(备选OCR引擎,比PaddleOCR更快,但需要更多内存)
# 如需使用,取消下面的注释并安装:
# easyocr>=1.7.0
# ========== 开发和测试依赖(可选) ==========
# Web GUI测试工具(如果需要使用Web界面测试功能)
# playwright>=1.30.0
# 注意:
# 1. 如果paddlepaddle安装失败,可以尝试:
# CPU版本: pip install paddlepaddle==2.5.2 -i https://pypi.tuna.tsinghua.edu.cn/simple
# GPU版本: pip install paddlepaddle-gpu==2.5.2 -i https://pypi.tuna.tsinghua.edu.cn/simple
#
# 2. 如果网络连接有问题,可以使用国内镜像源:
# pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple