From bb5719cb9963ace38ada18dfeb93051e96d306b7 Mon Sep 17 00:00:00 2001 From: "LIU, Zichen" <64915812+zliucz@users.noreply.github.com> Date: Thu, 21 Nov 2024 23:27:24 +0800 Subject: [PATCH] update Windows environment install --- windows_setup.bat | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/windows_setup.bat b/windows_setup.bat index 32909cf..6e2decf 100644 --- a/windows_setup.bat +++ b/windows_setup.bat @@ -1,16 +1,16 @@ :: Create conda environment if it doesn't exist -conda env list | find "MagicQuill" >nul 2>nul +conda env list | find "MagicQuill" >nul 2>nul if %ERRORLEVEL% NEQ 0 ( -echo Creating conda environment MagicQuill... -call conda create -n MagicQuill python=3.10 -y - -:: Initialize conda after creating new environment -echo Initializing conda... -call conda init cmd.exe - -echo Environment created. Please run this script again to continue installation. -pause -exit /b 0 + echo Creating conda environment MagicQuill... + call conda create -n MagicQuill python=3.10 -y + + :: 初始化conda + echo Initializing conda... + call conda init cmd.exe + + echo Environment created. Please restart the script. + pause + exit /b 0 ) :: Activate conda environment