From aaa11eb4e54034167dd1663872b4b0f7e21c464b Mon Sep 17 00:00:00 2001 From: Tianmoy <95174435+Tianmoy@users.noreply.github.com> Date: Sun, 16 Mar 2025 20:27:52 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E6=B7=BB=E5=8A=A0conda=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E9=80=89=E9=A1=B9=20=E6=9B=B4=E6=94=B9MongoDB?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MaiLauncher.bat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MaiLauncher.bat b/MaiLauncher.bat index adb7a1a7e..0d812713c 100644 --- a/MaiLauncher.bat +++ b/MaiLauncher.bat @@ -375,14 +375,16 @@ goto activate_conda :activate_conda set /p "CONDA_ENV=请输入要激活的环境名称:" -conda activate !CONDA_ENV! || ( +call conda activate !CONDA_ENV! || ( echo 激活失败,可能原因: echo 1. 环境不存在 echo 2. conda配置异常 + timeout /t >nul pause goto conda_menu ) echo 成功激活conda环境:!CONDA_ENV! +timeout /t 2 >nul :install_dependencies echo 是否需要安装项目依赖?