mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-03-08 06:33:51 +01:00
Installer: Use absolute Python path in Windows batch scripts
This commit is contained in:
parent
f9ed8820de
commit
6d7018069c
|
|
@ -99,7 +99,7 @@ set "CUDA_HOME=%CUDA_PATH%"
|
|||
call "%CONDA_ROOT_PREFIX%\condabin\conda.bat" activate "%INSTALL_ENV_DIR%" || ( echo. && echo Miniforge hook not found. && goto end )
|
||||
|
||||
@rem setup installer env
|
||||
call python one_click.py %*
|
||||
call "%INSTALL_ENV_DIR%\python.exe" one_click.py %*
|
||||
|
||||
@rem below are functions for the script next line skips these during normal execution
|
||||
goto end
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ set "CUDA_HOME=%CUDA_PATH%"
|
|||
call "%CONDA_ROOT_PREFIX%\condabin\conda.bat" activate "%INSTALL_ENV_DIR%" || ( echo. && echo Miniforge hook not found. && goto end )
|
||||
|
||||
@rem update installer env
|
||||
call python one_click.py --update-wizard && (
|
||||
call "%INSTALL_ENV_DIR%\python.exe" one_click.py --update-wizard && (
|
||||
echo.
|
||||
echo Have a great day!
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue