From 00707ace312223a4336d2ae10504dae910866fd0 Mon Sep 17 00:00:00 2001 From: yuyuyzl Date: Thu, 4 Aug 2022 00:08:03 +0800 Subject: [PATCH] more echo --- 01A.构建运行环境(默认源).bat | 4 +++- 01B.构建运行环境(国内源).bat | 5 ++++- 02A.启动器.bat | 3 ++- 02B.启动器(调试输出).bat | 3 ++- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/01A.构建运行环境(默认源).bat b/01A.构建运行环境(默认源).bat index 423655f..4a3598b 100644 --- a/01A.构建运行环境(默认源).bat +++ b/01A.构建运行环境(默认源).bat @@ -1,12 +1,14 @@ @echo off python --version +echo Initializing Python Virtual Environment (.\venv)... python -m venv venv +echo Activating Python Virtual Environment... call venv\Scripts\activate.bat if defined VIRTUAL_ENV ( pip install -r .\requirements.txt pip install torch --extra-index-url https://download.pytorch.org/whl/cu113 ) else ( -echo Python venv cannot be activated. +echo Python venv cannot be activated. (.\venv\Scripts\activate.bat missing) echo Please check the project folder and your python installation. Only english character is allowed in their paths. ) pause \ No newline at end of file diff --git a/01B.构建运行环境(国内源).bat b/01B.构建运行环境(国内源).bat index 18a26ee..11425b4 100644 --- a/01B.构建运行环境(国内源).bat +++ b/01B.构建运行环境(国内源).bat @@ -1,11 +1,14 @@ +@echo off python --version +echo Initializing Python Virtual Environment (.\venv)... python -m venv venv +echo Activating Python Virtual Environment... call venv\Scripts\activate.bat if defined VIRTUAL_ENV ( pip install -r .\requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple pip install torch --extra-index-url https://download.pytorch.org/whl/cu113 ) else ( -echo Python venv cannot be activated. +echo Python venv cannot be activated. (.\venv\Scripts\activate.bat missing) echo Please check the project folder and your python installation. Only english character is allowed in their paths. ) pause \ No newline at end of file diff --git a/02A.启动器.bat b/02A.启动器.bat index 6c9777b..f22951f 100644 --- a/02A.启动器.bat +++ b/02A.启动器.bat @@ -1,8 +1,9 @@ @echo off +echo Activating Python Virtual Environment... call venv\Scripts\activate.bat if defined VIRTUAL_ENV ( start pythonw launcher.py ) else ( -echo Python venv cannot be activated. +echo Python venv cannot be activated. (.\venv\Scripts\activate.bat missing) echo Please check the project folder and your python installation. Only english character is allowed in their paths. ) \ No newline at end of file diff --git a/02B.启动器(调试输出).bat b/02B.启动器(调试输出).bat index 45acf12..0f354f9 100644 --- a/02B.启动器(调试输出).bat +++ b/02B.启动器(调试输出).bat @@ -1,9 +1,10 @@ @echo off +echo Activating Python Virtual Environment... call venv\Scripts\activate.bat if defined VIRTUAL_ENV ( start python launcher.py ) else ( -echo Python venv cannot be activated. +echo Python venv cannot be activated. (.\venv\Scripts\activate.bat missing) echo Please check the project folder and your python installation. Only english character is allowed in their paths. ) pause \ No newline at end of file