Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/Alpha-b' into Alpha-b
Browse files Browse the repository at this point in the history
  • Loading branch information
Aydinhamedi committed Jan 6, 2024
2 parents e7d4f5b + 3f3372c commit 09f1f63
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Interface/CLI/CLI.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ if "%arg%"=="-f" (
goto :FAST_START)
REM Check Python version
echo Checking Python version...
python --version 2>NUL >NUL
if errorlevel 1 goto errorNoPython
FOR /F "tokens=2 delims=." %%i IN ('python --version 2^>^&1') DO set python_version=%%i
if %python_version% LSS 9 (
echo Warning: Please update your Python version to 3.9.x or higher!
Expand Down Expand Up @@ -60,4 +62,7 @@ if ERRORLEVEL 1 (
) else if "%DEBUG%"=="1" (
echo Package %1 is already installed.
)
:errorNoPython
echo Error^: Python is not installed
pause
GOTO:EOF

0 comments on commit 09f1f63

Please sign in to comment.