From bdb4e937092ffd2410692f69e55c5ae147520573 Mon Sep 17 00:00:00 2001 From: Alfredo Monclus Date: Sun, 6 Jul 2025 07:06:04 -0600 Subject: [PATCH] refactor: requirements install: add prefer-binary to the retry path should help if the system can't build succesfully for whatever reason --- scripts/KlipperScreen-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/KlipperScreen-install.sh b/scripts/KlipperScreen-install.sh index b336005a..0862d11f 100755 --- a/scripts/KlipperScreen-install.sh +++ b/scripts/KlipperScreen-install.sh @@ -146,10 +146,10 @@ create_virtualenv() if [[ "$(uname -m)" =~ armv[67]l ]]; then echo_text "Adding piwheels.org as extra index..." pip install --extra-index-url https://www.piwheels.org/simple --upgrade pip setuptools - pip install --extra-index-url https://www.piwheels.org/simple -r ${KSPATH}/scripts/KlipperScreen-requirements.txt + pip install --extra-index-url https://www.piwheels.org/simple -r ${KSPATH}/scripts/KlipperScreen-requirements.txt --prefer-binary else pip install --upgrade pip setuptools - pip install -r ${KSPATH}/scripts/KlipperScreen-requirements.txt + pip install -r ${KSPATH}/scripts/KlipperScreen-requirements.txt --prefer-binary fi if [ $? -gt 0 ]; then echo_error "Unable to install dependencies, aborting install."