From ecc5b6eec54512c7eca4479e893de272d314933d Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Sat, 1 Jul 2023 19:56:18 -0400 Subject: [PATCH] change single to double quotes so that pip install works on windows --- invokeai/frontend/install/invokeai_update.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/invokeai/frontend/install/invokeai_update.py b/invokeai/frontend/install/invokeai_update.py index 18ad71957e..f73f670496 100644 --- a/invokeai/frontend/install/invokeai_update.py +++ b/invokeai/frontend/install/invokeai_update.py @@ -108,11 +108,11 @@ def main(): print(f':crossed_fingers: Upgrading to [yellow]{tag if tag else release}[/yellow]') if release: - cmd = f"pip install 'invokeai{extras} @ {INVOKE_AI_SRC}/{release}.zip' --use-pep517 --upgrade" + cmd = f'pip install "invokeai{extras} @ {INVOKE_AI_SRC}/{release}.zip" --use-pep517 --upgrade' elif tag: - cmd = f"pip install 'invokeai{extras} @ {INVOKE_AI_TAG}/{tag}.zip' --use-pep517 --upgrade" + cmd = f'pip install "invokeai{extras} @ {INVOKE_AI_TAG}/{tag}.zip" --use-pep517 --upgrade' else: - cmd = f"pip install 'invokeai{extras} @ {INVOKE_AI_BRANCH}/{branch}.zip' --use-pep517 --upgrade" + cmd = f'pip install "invokeai{extras} @ {INVOKE_AI_BRANCH}/{branch}.zip" --use-pep517 --upgrade' print('') print('') if os.system(cmd)==0: