diff --git a/scripts/deploy/install.sh b/scripts/deploy/install.sh index ad7504d..8657e24 100644 --- a/scripts/deploy/install.sh +++ b/scripts/deploy/install.sh @@ -60,7 +60,7 @@ if [ -d "$INSTALL_DIR/deps" ] && ls "$INSTALL_DIR/deps"/*.whl >/dev/null 2>&1; t # 先确保 pip3 可用(离线安装) if ! command -v pip3 &>/dev/null; then if [ -f "$INSTALL_DIR/deps/get-pip.py" ]; then - python3 "$INSTALL_DIR/deps/get-pip.py" --no-index --find-links="$INSTALL_DIR/deps/" 2>&1 + 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