From 2cfe5393da663ac2416dfc8dcfa07cb6bba35b46 Mon Sep 17 00:00:00 2001 From: Vadim Date: Wed, 4 Mar 2026 20:47:58 +0100 Subject: [PATCH] Installation fails when directory contains a space --- install/CPU/windows_cpu.bat | 4 ++-- install/CUDA/windows_cuda_gpu.bat | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/install/CPU/windows_cpu.bat b/install/CPU/windows_cpu.bat index bc0b055e..427ac087 100644 --- a/install/CPU/windows_cpu.bat +++ b/install/CPU/windows_cpu.bat @@ -51,7 +51,7 @@ if "!PYTHON_EXE!"=="" ( ) echo Using Python: !PYTHON_EXE! -!PYTHON_EXE! --version +"!PYTHON_EXE!" --version :: Install uv if not already installed where uv >nul 2>&1 @@ -75,7 +75,7 @@ echo uv is ready uv --version echo Syncing dependencies with uv... -uv sync --extra windows --python !PYTHON_EXE! +uv sync --extra windows --python "!PYTHON_EXE!" if !errorlevel! neq 0 ( echo Error during uv sync pause diff --git a/install/CUDA/windows_cuda_gpu.bat b/install/CUDA/windows_cuda_gpu.bat index fb129b02..ff68ace0 100644 --- a/install/CUDA/windows_cuda_gpu.bat +++ b/install/CUDA/windows_cuda_gpu.bat @@ -51,7 +51,7 @@ if "!PYTHON_EXE!"=="" ( ) echo Using Python: !PYTHON_EXE! -!PYTHON_EXE! --version +"!PYTHON_EXE!" --version :: Install uv if not already installed where uv >nul 2>&1 @@ -75,7 +75,7 @@ echo uv is ready uv --version echo Syncing dependencies with uv... -uv sync --extra windows --python !PYTHON_EXE! +uv sync --extra windows --python "!PYTHON_EXE!" if !errorlevel! neq 0 ( echo Error during uv sync pause