From fd2a3db65efca06764d61151c89bc8d9c5bff965 Mon Sep 17 00:00:00 2001 From: yuluo-yx Date: Sun, 7 Sep 2025 23:31:06 +0800 Subject: [PATCH] docs: add python install setups in install-local Signed-off-by: yuluo-yx --- website/docs/getting-started/installation.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/website/docs/getting-started/installation.md b/website/docs/getting-started/installation.md index 78fc5a6..1ddeaca 100644 --- a/website/docs/getting-started/installation.md +++ b/website/docs/getting-started/installation.md @@ -10,6 +10,7 @@ This guide will help you set up and install the Semantic Router on your system. - **Go**: Version 1.19 or higher - **Rust**: Version 1.70 or higher (for Candle bindings) +- **Python**: Version 3.8 or higher (for model downloads) - **HuggingFace CLI**: For model downloads (`pip install huggingface_hub`) ## Local Installation @@ -44,6 +45,16 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh source ~/.cargo/env ``` +#### Install Python (if not already installed) +```bash +# Check if Python is installed +python --version + +# If not installed: +# macOS: brew install python +# Ubuntu: sudo apt install python3 python3-pip (Tips: need python3.8+) +``` + #### Install HuggingFace CLI ```bash pip install huggingface_hub