-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.bat
More file actions
40 lines (28 loc) · 718 Bytes
/
install.bat
File metadata and controls
40 lines (28 loc) · 718 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
35
36
37
@echo off
:: Define the Python version
set PYTHON_VERSION= 3.13.5
:: Display the Python version being used
echo Using Python version %PYTHON_VERSION%
:: Create virtual environment
python -m venv venv
:: Check if venv creation was successful
if errorlevel 1 (
echo Failed to create virtual environment.
exit /b 1
)
:: Activate virtual environment
call venv\Scripts\activate
:: Check if activation was successful
if errorlevel 1 (
echo Failed to activate virtual environment.
exit /b 1
)
:: Install dependencies
:: Check if dependencies were installed successfully
if errorlevel 1 (
echo Failed to install dependencies.
exit /b 1
)
:: Setup complete
echo Installation complete!
pause