-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.bat
More file actions
45 lines (39 loc) · 1.01 KB
/
install.bat
File metadata and controls
45 lines (39 loc) · 1.01 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
@echo off
REM Installation script for Prediction Analyzer (Windows)
echo ========================================
echo Prediction Analyzer - Installation
echo ========================================
echo.
REM Check if Python is available
python --version >nul 2>&1
if errorlevel 1 (
echo ERROR: Python is not installed or not in PATH
echo Please install Python 3.8 or higher from python.org
pause
exit /b 1
)
echo Python found. Installing dependencies...
echo.
REM Upgrade pip first
echo Upgrading pip...
python -m pip install --upgrade pip
REM Install requirements
echo.
echo Installing required packages...
python -m pip install -r requirements.txt
if errorlevel 1 (
echo.
echo ERROR: Installation failed!
echo Please check the error messages above.
pause
exit /b 1
)
echo.
echo ========================================
echo Installation completed successfully!
echo ========================================
echo.
echo You can now run the analyzer with:
echo python run.py
echo.
pause