-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall-dearpygui.bat
More file actions
26 lines (21 loc) · 784 Bytes
/
install-dearpygui.bat
File metadata and controls
26 lines (21 loc) · 784 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
@echo off
setlocal
echo [OneTrainer] Installing Dear PyGui dependencies...
:: Check for existing Python environment
if exist venv (
echo [OneTrainer] Using existing Python virtual environment...
call venv\Scripts\activate.bat
) else if exist conda_env (
echo [OneTrainer] Using existing Conda environment...
call conda run --prefix conda_env --no-capture-output pip install -r requirements-dearpygui.txt
goto :end
) else (
echo [OneTrainer] No Python environment found. Please run install.bat first.
exit /b 1
)
:: Install Dear PyGui dependencies
pip install -r requirements-dearpygui.txt
echo [OneTrainer] Dear PyGui dependencies installed successfully.
echo [OneTrainer] You can now run the experimental UI with: python start-dpg-ui.py
:end
endlocal