-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInstall.bat
More file actions
26 lines (22 loc) · 750 Bytes
/
Copy pathInstall.bat
File metadata and controls
26 lines (22 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@echo off
echo ==========================================
echo Instalando dependencias de SPARK (Global)...
echo ==========================================
:: Comprueba si Python esta instalado
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo [ERROR] Python no esta instalado o no esta en el PATH.
echo Por favor, instala Python e intentalo de nuevo.
pause
exit /b
)
:: Instala las dependencias globalmente
echo Actualizando pip...
python -m pip install --upgrade pip
echo Instalando librerias desde requirements.txt...
pip install -r requirements.txt
echo.
echo ==========================================
echo Instalacion completada con exito!
echo ==========================================
pause