From 573e379b9cf9f371ff8a86b1e8caa05e93dbf3c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Joz=C3=ADfek?= Date: Mon, 4 Mar 2024 10:37:56 +0100 Subject: [PATCH] PrusaLink updater fix attempt, pip has a new mandatory flg --- prusa/link/printer_adapter/command_handlers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prusa/link/printer_adapter/command_handlers.py b/prusa/link/printer_adapter/command_handlers.py index d972e5d6..abf5397f 100644 --- a/prusa/link/printer_adapter/command_handlers.py +++ b/prusa/link/printer_adapter/command_handlers.py @@ -59,8 +59,8 @@ def check_update_prusalink(): def update_prusalink(): """Run the bash script to update PrusaLink and return output""" return check_output( - [executable, '-m', 'pip', 'install', '-U', - '--upgrade-strategy', 'only-if-needed', 'prusalink'], + [executable, '-m', 'pip', 'install', '-U', '--upgrade-strategy', + 'only-if-needed', '--break-system-packages', 'prusalink'], stderr=STDOUT).decode()