Files
feiqiu-ETL/etl_billiards/安装依赖.bat
2026-01-28 00:02:15 +08:00

36 lines
745 B
Batchfile

@echo off
chcp 65001 >nul
echo ========================================
echo ETL Manager - Install Dependencies
echo ========================================
echo.
:: Check Python
python --version >nul 2>&1
if errorlevel 1 (
echo [Error] Python not found. Please install Python 3.10+
echo Download: https://www.python.org/downloads/
pause
exit /b 1
)
echo [1/2] Python detected:
python --version
echo.
echo [2/2] Installing dependencies...
pip install -r ..\requirements.txt
if errorlevel 1 (
echo.
echo [Error] Failed to install dependencies
pause
exit /b 1
)
echo.
echo ========================================
echo Done! Run "Start_ETL_Manager.bat"
echo ========================================
pause