diff --git a/comfy_cli/uv.py b/comfy_cli/uv.py index 1778b05..5719ca6 100644 --- a/comfy_cli/uv.py +++ b/comfy_cli/uv.py @@ -57,8 +57,17 @@ def InstallBuildDeps(): """Use pip to install bare minimum requirements for uv to do its thing """ if shutil.which("uv") is None: - _check_call(cmd=["python", "-m", "pip", "install", "-U", "pip"]) - _check_call(cmd=["python", "-m", "pip", "install", "uv"]) + cmd = [ + sys.executable, + "-m", + "pip", + "install", + "--upgrade", + "pip", + "uv" + ] + + _check_call(cmd=cmd) @staticmethod def Compile(