mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-17 13:47:04 +08:00
Fixed install windows req
This commit is contained in:
parent
5c6ae0be5b
commit
7d10143df0
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user