-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.bat
More file actions
32 lines (27 loc) · 796 Bytes
/
run.bat
File metadata and controls
32 lines (27 loc) · 796 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 Physics Application Suite v2.0 - PyQt5
echo ================================================
echo.
REM Check if Python is installed
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo Python is not installed or not in PATH.
echo Please install Python 3.11 or later.
pause
exit /b 1
)
REM Install PyQt5 and other requirements
echo Installing PyQt5 and dependencies...
pip install PyQt5 matplotlib numpy pillow
REM Launch the PyQt5 application
echo.
echo 🚀 Launching Physics Application Suite...
echo.
python main.py
if %errorlevel% neq 0 (
echo.
echo ❌ Application encountered an error.
echo Check that all dependencies are properly installed.
)
pause