Fixed install windows req

This commit is contained in:
TheUnfocused 2024-08-04 12:30:17 -07:00
parent 5c6ae0be5b
commit 7d10143df0

View File

@ -19,6 +19,7 @@ if %ERRORLEVEL% == 0 (
goto :eof goto :eof
REM Check if Python is installed REM Check if Python is installed
:CheckPython
python --version >nul 2>&1 python --version >nul 2>&1
if %ERRORLEVEL% EQU 0 ( if %ERRORLEVEL% EQU 0 (
echo Python3.8 is already installed. echo Python3.8 is already installed.
@ -33,6 +34,7 @@ if %ERRORLEVEL% EQU 0 (
echo Python3.8 has been installed. echo Python3.8 has been installed.
) )
goto :eof
REM Function to check if NVIDIA drivers are installed REM Function to check if NVIDIA drivers are installed
:CheckNvidiaDriver :CheckNvidiaDriver
@ -70,6 +72,7 @@ if exist "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc.exe"
goto :eof goto :eof
call :CheckGit call :CheckGit
call :CheckPython
call :CheckNvidiaDriver call :CheckNvidiaDriver
call :CheckCUDA call :CheckCUDA