From c19a1166ba6b6fca43adf4a68698a5aaf279aa1b Mon Sep 17 00:00:00 2001 From: KawaiiYusora Date: Thu, 6 Mar 2025 19:43:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E8=A1=A5=E4=BD=8E=E4=BA=8Epyth?= =?UTF-8?q?on3=E4=BC=9A=E9=94=99=E8=AF=AF=E5=90=AF=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run_windows.bat | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/run_windows.bat b/run_windows.bat index 456c04d17..920069318 100644 --- a/run_windows.bat +++ b/run_windows.bat @@ -23,6 +23,11 @@ if not exist "venv\" ( set minor=%%c ) + if !major! lss 3 ( + echo 需要Python大于等于3.0,当前版本 !version! + exit /b 1 + ) + if !major! equ 3 if !minor! lss 9 ( echo 需要Python大于等于3.9,当前版本 !version! exit /b 1 @@ -59,4 +64,4 @@ echo 代理已取消。 set no_proxy=0.0.0.0/32 call nb run -paus \ No newline at end of file +pause \ No newline at end of file