From fac4c591fb8513be661056c6c90263729253bfc7 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, 16 Jan 2025 11:55:34 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20install.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/install.sh b/bin/install.sh index 2b298f4..3f11d5e 100644 --- a/bin/install.sh +++ b/bin/install.sh @@ -215,7 +215,7 @@ install_packages() { # 安装pip包函数 install_pip_packages() { echo "正在安装pip软件包" - if ! sudo pip3 install -i "$PIPY_MIRROR" spidev borax pillow requests; then + if ! sudo pip3 install -i "$PIPY_MIRROR" spidev borax pillow requests Flask; then echo "pip软件包安装失败,如果是最新版系统或是非lite系统" >&2 echo "请手动运行sudo pip3 install -i "$PIPY_MIRROR" spidev borax pillow requests --break-system-packages" >&2 exit 1