@echo off cd /d "%~dp0" echo Setting up the local MOM application... where py >nul 2>nul if errorlevel 1 ( echo Install Python 3.11 or newer from python.org, then run this file again. pause exit /b 1 ) py -3 -m venv .venv if errorlevel 1 exit /b 1 ".venv\Scripts\python.exe" -m pip install -r requirements.txt if errorlevel 1 exit /b 1 echo Setup complete. Double-click start_mom.bat to open the app.