-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.bat
More file actions
40 lines (35 loc) · 886 Bytes
/
Copy pathsetup.bat
File metadata and controls
40 lines (35 loc) · 886 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
@echo off
REM Setup script for Windows users
echo.
echo ========================================
echo Sentiment Analysis Project - Setup
echo ========================================
echo.
echo Checking Python version...
python --version > nul 2>&1
if errorlevel 1 (
echo ERROR: Python not found or not in PATH
echo Please install Python 3.10+ from python.org
pause
exit /b 1
)
echo.
echo Installing dependencies...
python -m pip install --upgrade pip setuptools wheel
python -m pip install -r requirements.txt
if errorlevel 1 (
echo ERROR: Failed to install dependencies
pause
exit /b 1
)
echo.
echo ========================================
echo ✓ Setup complete!
echo ========================================
echo.
echo To launch the app, run:
echo python -m streamlit run app.py
echo.
echo The app will open at http://localhost:8501/
echo.
pause