Files
feiqiu-ETL/etl_billiards/安装依赖.bat
2026-01-27 23:45:36 +08:00

37 lines
786 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
chcp 65001 >nul
echo ========================================
echo ETL Manager 依赖安装脚本
echo ========================================
echo.
:: 检查 Python
python --version >nul 2>&1
if errorlevel 1 (
echo [错误] 未检测到 Python请先安装 Python 3.10+
echo 下载地址: https://www.python.org/downloads/
pause
exit /b 1
)
echo [1/2] 检测到 Python:
python --version
echo.
echo [2/2] 安装依赖...
pip install -r ..\requirements.txt
if errorlevel 1 (
echo.
echo [错误] 依赖安装失败,请检查网络连接
pause
exit /b 1
)
echo.
echo ========================================
echo 安装完成!
echo 双击 "启动ETL管理器.bat" 运行程序
echo ========================================
pause