-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
34 lines (30 loc) · 957 Bytes
/
Copy pathsetup.bat
File metadata and controls
34 lines (30 loc) · 957 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
@echo off
echo ==================================================
echo Lego Sorting System - Environment Setup
echo ==================================================
echo.
echo [1/3] Installing Python dependencies from requirements.txt...
pip install -r requirements.txt
if errorlevel 1 (
echo.
echo FAILED installing Python dependencies. Check the error above.
pause
exit /b 1
)
echo.
echo [2/3] Installing Playwright's Chromium browser...
playwright install chromium
if errorlevel 1 (
echo.
echo FAILED installing the Chromium browser. Check the error above.
pause
exit /b 1
)
echo.
echo [3/3] Verifying key packages...
python -c "import cv2, ultralytics, playwright; print('OpenCV, Ultralytics, and Playwright imported successfully.')"
echo.
echo ==================================================
echo Setup complete. See PROJECT_GUIDE.md for next steps.
echo ==================================================
pause