From d3805585e7bff809d315d3b04ad43665a5590b01 Mon Sep 17 00:00:00 2001 From: Kyle Into Date: Wed, 11 Feb 2026 14:59:21 -0700 Subject: [PATCH] Update pip install commands to use piwheels my raspberry pi zero could never finsih the install script. I waited ~16 hours. by using pywheels, it finishes in a few minutes. --- install/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/install.sh b/install/install.sh index 7f4903b12..b98256099 100644 --- a/install/install.sh +++ b/install/install.sh @@ -208,14 +208,14 @@ setup_earlyoom_service() { create_venv(){ echo "Creating python virtual environment. " python3 -m venv "$VENV_PATH" - $VENV_PATH/bin/python -m pip install --upgrade pip setuptools wheel > /dev/null - $VENV_PATH/bin/python -m pip install -r $PIP_REQUIREMENTS_FILE -qq > /dev/null & + $VENV_PATH/bin/python -m pip install --extra-index-url https://www.piwheels.org/simple --upgrade pip setuptools wheel > /dev/null + $VENV_PATH/bin/python -m pip install --extra-index-url https://www.piwheels.org/simple -r $PIP_REQUIREMENTS_FILE -qq > /dev/null & show_loader "\tInstalling python dependencies. " # do additional dependencies for Waveshare support. if [[ -n "$WS_TYPE" ]]; then echo "Adding additional dependencies for waveshare to the python virtual environment. " - $VENV_PATH/bin/python -m pip install -r $WS_REQUIREMENTS_FILE > ws_pip_install.log & + $VENV_PATH/bin/python -m pip install --extra-index-url https://www.piwheels.org/simple -r $WS_REQUIREMENTS_FILE > ws_pip_install.log & show_loader "\tInstalling additional Waveshare python dependencies. " fi