diff --git a/01A.构建运行环境(默认源).bat b/01A.构建运行环境(默认源).bat index 5bf43f3..8125321 100644 --- a/01A.构建运行环境(默认源).bat +++ b/01A.构建运行环境(默认源).bat @@ -1,15 +1,12 @@ @echo off -python --version -echo Initializing Python Virtual Environment (.\venv)... -python -m venv venv echo Activating Python Virtual Environment... -call venv\Scripts\activate.bat +call bin\Scripts\activate.bat if defined VIRTUAL_ENV ( pip install wheel pip install -r .\requirements.txt pip install torch --extra-index-url https://download.pytorch.org/whl/cu113 ) else ( -echo Missing .\venv\Scripts\activate.bat, Python venv cannot be activated. -echo Please check the project folder and your python installation. Only english character is allowed in their paths. +echo Missing .\bin\Scripts\activate.bat, Python venv cannot be activated. +echo Please check the project folder. Only english character is allowed in their paths. ) pause \ No newline at end of file diff --git a/01B.构建运行环境(国内源).bat b/01B.构建运行环境(国内源).bat index 91dd3b9..00564e5 100644 --- a/01B.构建运行环境(国内源).bat +++ b/01B.构建运行环境(国内源).bat @@ -1,15 +1,12 @@ @echo off -python --version -echo Initializing Python Virtual Environment (.\venv)... -python -m venv venv echo Activating Python Virtual Environment... -call venv\Scripts\activate.bat +call bin\Scripts\activate.bat if defined VIRTUAL_ENV ( pip install wheel -i https://mirror.sjtu.edu.cn/pypi/web/simple pip install -r .\requirements.txt -i https://mirror.sjtu.edu.cn/pypi/web/simple pip install torch --extra-index-url https://mirror.sjtu.edu.cn/pytorch-wheels/cu113 ) else ( -echo Missing .\venv\Scripts\activate.bat, Python venv cannot be activated. -echo Please check the project folder and your python installation. Only english character is allowed in their paths. +echo Missing .\bin\Scripts\activate.bat, Python venv cannot be activated. +echo Please check the project folder. Only english character is allowed in their paths. ) pause \ No newline at end of file diff --git a/02A.启动器.bat b/02A.启动器.bat index 14c7c4a..62f07ae 100644 --- a/02A.启动器.bat +++ b/02A.启动器.bat @@ -1,9 +1,9 @@ @echo off echo Activating Python Virtual Environment... -call venv\Scripts\activate.bat +call bin\Scripts\activate.bat if defined VIRTUAL_ENV ( start pythonw launcher.py ) else ( -echo Missing .\venv\Scripts\activate.bat, Python venv cannot be activated. -echo Please check the project folder and your python installation. Only english character is allowed in their paths. +echo Missing .\bin\Scripts\activate.bat, Python venv cannot be activated. +echo Please check the project folder. Only english character is allowed in their paths. ) \ No newline at end of file diff --git a/02B.启动器(调试输出).bat b/02B.启动器(调试输出).bat index cc3037e..2993a47 100644 --- a/02B.启动器(调试输出).bat +++ b/02B.启动器(调试输出).bat @@ -1,10 +1,10 @@ @echo off echo Activating Python Virtual Environment... -call venv\Scripts\activate.bat +call bin\Scripts\activate.bat if defined VIRTUAL_ENV ( start python launcher.py ) else ( -echo Missing .\venv\Scripts\activate.bat, Python venv cannot be activated. -echo Please check the project folder and your python installation. Only english character is allowed in their paths. +echo Missing .\bin\Scripts\activate.bat, Python venv cannot be activated. +echo Please check the project folder. Only english character is allowed in their paths. ) pause \ No newline at end of file