From 6d7018069c076aa0b9ee16445114f1b990b7d093 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Thu, 5 Mar 2026 21:56:01 -0800 Subject: [PATCH] Installer: Use absolute Python path in Windows batch scripts --- start_windows.bat | 2 +- update_wizard_windows.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/start_windows.bat b/start_windows.bat index 406fd27e..dd096760 100755 --- a/start_windows.bat +++ b/start_windows.bat @@ -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 diff --git a/update_wizard_windows.bat b/update_wizard_windows.bat index e9203c52..5e5beec0 100755 --- a/update_wizard_windows.bat +++ b/update_wizard_windows.bat @@ -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! )