From b0af02556186176efcd8418e407c142a041da9d9 Mon Sep 17 00:00:00 2001 From: yuyuyzl Date: Tue, 9 Aug 2022 20:03:15 +0800 Subject: [PATCH] include venv --- 01B.构建运行环境(国内源).bat | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/01B.构建运行环境(国内源).bat b/01B.构建运行环境(国内源).bat index 00564e5..b9aab8f 100644 --- a/01B.构建运行环境(国内源).bat +++ b/01B.构建运行环境(国内源).bat @@ -1,12 +1,6 @@ @echo off -echo Activating Python Virtual Environment... -call bin\Scripts\activate.bat -if defined VIRTUAL_ENV ( +cd bin 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 .\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