Browse Source

Merge pull request #16231 from AUTOMATIC1111/bat-activate-venv

activate venv .bat
AUTOMATIC1111 1 year ago
parent
commit
fc7b25ac67
1 changed files with 1 additions and 0 deletions
  1. 1 0
      webui.bat

+ 1 - 0
webui.bat

@@ -48,6 +48,7 @@ echo Warning: Failed to upgrade PIP version
 
 
 :activate_venv
 :activate_venv
 set PYTHON="%VENV_DIR%\Scripts\Python.exe"
 set PYTHON="%VENV_DIR%\Scripts\Python.exe"
+call "%VENV_DIR%\Scripts\activate.bat"
 echo venv %PYTHON%
 echo venv %PYTHON%
 
 
 :skip_venv
 :skip_venv