From 0f35e9ba65afdf73a9153fdceb8ce55d426c3b07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=85=89-k?= <36470587+kxgx@users.noreply.github.com> Date: Thu, 9 Jan 2025 01:10:25 +0800 Subject: [PATCH] Update install.sh --- bin/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/install.sh b/bin/install.sh index d9c8e84..82e2eda 100644 --- a/bin/install.sh +++ b/bin/install.sh @@ -45,7 +45,7 @@ sudo apt-get install -y python3-pip sudo apt-get install -y python3-pil sudo apt-get install -y python3-numpy sudo apt-get install -y python3-gpiozero -sudo pip3 install spidev borax pillow requests --break-system-packages +sudo pip3 install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple spidev borax pillow requests --break-system-packages ;; 12*) echo "Debian 12 (Bookworm)" @@ -80,7 +80,7 @@ sudo apt-get install -y python3-pip sudo apt-get install -y python3-pil sudo apt-get install -y python3-numpy sudo apt-get install -y python3-gpiozero -sudo pip3 install spidev borax pillow requests --break-system-packages +sudo pip3 install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple spidev borax pillow requests --break-system-packages ;; *) echo "Unknown Debian version"