From 772af08a1f20cf24f3f4ca20e42868ed1bf00300 Mon Sep 17 00:00:00 2001 From: tian <11429339@qq.com> Date: Fri, 24 Jul 2026 09:26:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B6=88=E9=99=A4=20pip=20root=20?= =?UTF-8?q?=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/deploy/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy/install.sh b/scripts/deploy/install.sh index 8657e24..cbabdbf 100644 --- a/scripts/deploy/install.sh +++ b/scripts/deploy/install.sh @@ -63,7 +63,7 @@ if [ -d "$INSTALL_DIR/deps" ] && ls "$INSTALL_DIR/deps"/*.whl >/dev/null 2>&1; t python3 "$INSTALL_DIR/deps/get-pip.py" --no-index --find-links="$INSTALL_DIR/deps/" --no-setuptools --no-wheel 2>&1 fi fi - if pip3 install --force-reinstall "$INSTALL_DIR"/deps/*.whl 2>&1; then + if pip3 install --force-reinstall --root-user-action=ignore "$INSTALL_DIR"/deps/*.whl 2>&1; then echo " ✓ Python 依赖已安装" else echo " ⚠ Python 依赖安装失败,尝试桥接用户包..."