forked from lza6/perplexity-2api-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.bat
More file actions
32 lines (28 loc) · 691 Bytes
/
install.bat
File metadata and controls
32 lines (28 loc) · 691 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
@echo off
echo ========================================
echo Perplexity-2API Dependency Installer
echo ========================================
echo.
REM Check Python
python --version >nul 2>&1
if errorlevel 1 (
echo [ERROR] Python not found. Please install Python 3.8+
pause
exit /b 1
)
REM Check requirements.txt
if not exist "requirements.txt" (
echo [ERROR] requirements.txt not found
pause
exit /b 1
)
echo [INFO] Installing dependencies...
pip install -r requirements.txt
if errorlevel 1 (
echo [ERROR] Failed to install dependencies
pause
exit /b 1
)
echo [SUCCESS] Dependencies installed
echo [INFO] Run start.bat to start the service
pause