From 48076f0c3209eebb5e6830551c285864e8b0bc7f Mon Sep 17 00:00:00 2001 From: Lloyd Date: Tue, 30 Dec 2025 16:42:33 +0000 Subject: [PATCH] Fix: Update pip installation command to use python3 -m and correct package name --- manage.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/manage.sh b/manage.sh index 80762ee..52a2897 100755 --- a/manage.sh +++ b/manage.sh @@ -204,7 +204,7 @@ install_repeater() { echo "25"; echo "# Installing system dependencies..." apt-get update -qq - apt-get install -y libffi-dev jq pip python3-rrdtool wget swig build-essential python3-dev + apt-get install -y libffi-dev jq python3-pip python3-rrdtool wget swig build-essential python3-dev # Install mikefarah yq v4 if not already installed if ! command -v yq &> /dev/null || [[ "$(yq --version 2>&1)" != *"mikefarah/yq"* ]]; then @@ -261,7 +261,7 @@ install_repeater() { SCRIPT_DIR="$(dirname "$0")" cd "$SCRIPT_DIR" - if pip install --break-system-packages --force-reinstall --no-cache-dir --ignore-installed .; then + if python3 -m pip install --break-system-packages --force-reinstall --no-cache-dir --ignore-installed .; then echo "" echo "✓ Python package installation completed successfully!" @@ -340,7 +340,7 @@ upgrade_repeater() { echo "[3/9] Updating system dependencies..." apt-get update -qq - apt-get install -y libffi-dev jq pip python3-rrdtool wget swig build-essential python3-dev + apt-get install -y libffi-dev jq python3-pip python3-rrdtool wget swig build-essential python3-dev # Install mikefarah yq v4 if not already installed if ! command -v yq &> /dev/null || [[ "$(yq --version 2>&1)" != *"mikefarah/yq"* ]]; then @@ -392,7 +392,7 @@ upgrade_repeater() { SCRIPT_DIR="$(dirname "$0")" cd "$SCRIPT_DIR" - if pip install --break-system-packages --force-reinstall --no-cache-dir --ignore-installed .; then + if python3 -m pip install --break-system-packages --force-reinstall --no-cache-dir --ignore-installed .; then echo "" echo "✓ Python package update completed successfully!" else