summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhaoyuren <13851610112@163.com>2026-03-29 15:17:46 -0500
committerhaoyuren <13851610112@163.com>2026-03-29 15:17:46 -0500
commit992afc3a6ffe1109b346b2074243cf2b4cbac0c7 (patch)
treef447cdfe55607d9ec3d85047ffaf2ee795ba5714
parent9791b6c1ec9d6ae390dc02595f3f3dbb5e9525bb (diff)
Don't exit on pip failure
-rwxr-xr-xsetup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.sh b/setup.sh
index 1a934c3..2596284 100755
--- a/setup.sh
+++ b/setup.sh
@@ -62,7 +62,7 @@ echo " 文件已安装到 $BRIDGE_DIR"
# === 2. 安装 Python 依赖 ===
echo "[2/7] 安装 Python 依赖..."
-pip install httpx "mcp[cli]" 2>&1 | tail -1
+pip install httpx "mcp[cli]" 2>&1 | tail -1 || echo " ⚠️ pip 安装失败,请手动安装: pip install httpx 'mcp[cli]'"
# === 3. 注册 MCP server ===
echo "[3/7] 注册 MCP server..."