修复脚本

This commit is contained in:
Neo
2026-01-28 00:02:15 +08:00
parent 7e67bc4218
commit 1a76108209
3 changed files with 10 additions and 11 deletions

BIN
etl_billiards/1.zip Normal file

Binary file not shown.

View File

@@ -4,7 +4,7 @@ cd /d "%~dp0"
python -m gui.main
if errorlevel 1 (
echo.
echo 启动失败!请检查是否已安装 Python 和依赖。
echo 安装依赖命令: pip install -r ..\requirements.txt
echo Failed to start! Check Python and dependencies.
echo Run: pip install -r ..\requirements.txt
pause
)

View File

@@ -1,36 +1,35 @@
@echo off
chcp 65001 >nul
echo ========================================
echo ETL Manager 依赖安装脚本
echo ETL Manager - Install Dependencies
echo ========================================
echo.
:: 检查 Python
:: Check Python
python --version >nul 2>&1
if errorlevel 1 (
echo [错误] 未检测到 Python请先安装 Python 3.10+
echo 下载地址: https://www.python.org/downloads/
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:
echo [1/2] Python detected:
python --version
echo.
echo [2/2] 安装依赖...
echo [2/2] Installing dependencies...
pip install -r ..\requirements.txt
if errorlevel 1 (
echo.
echo [错误] 依赖安装失败,请检查网络连接
echo [Error] Failed to install dependencies
pause
exit /b 1
)
echo.
echo ========================================
echo 安装完成!
echo 双击 "启动ETL管理器.bat" 运行程序
echo Done! Run "Start_ETL_Manager.bat"
echo ========================================
pause