include venv
This commit is contained in:
1 parent
6d1a2a3bba
commit
b0af025561
1 file changed
+1
-7
+1
-7
@@ -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
|
||||
Reference in new issue
Block a user