more echo

This commit is contained in:
yuyuyzl committed 2022-08-04 00:08:03 +08:00
1 parent 243d8cf3a9
commit 00707ace31
4 files changed
+11 -4

No files matched your search

+3 -1
View File
@@ -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
+4 -1
View File
@@ -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
+2 -1
View File
@@ -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.
)
+2 -1
View File
@@ -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