From 8d811a4d58991d5581bd77d5ab41d65179d30c6a Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Tue, 21 Nov 2023 16:00:48 -0800 Subject: [PATCH] one-click: move on instead of crashing if extension fails to install --- one_click.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/one_click.py b/one_click.py index 86dd3f5..6febcba 100644 --- a/one_click.py +++ b/one_click.py @@ -260,7 +260,7 @@ def update_requirements(initial_installation=False): extension_req_path = os.path.join("extensions", extension, "requirements.txt") if os.path.exists(extension_req_path): - run_cmd("python -m pip install -r " + extension_req_path + " --upgrade", assert_success=True, environment=True) + run_cmd("python -m pip install -r " + extension_req_path + " --upgrade", assert_success=False, environment=True) elif initial_installation: print_big_message("Will not install extensions due to INSTALL_EXTENSIONS environment variable.")