Skip to content

Commit cb91dfb

Browse files
committed
docs: update installation instructions to require Python 3.12 for uv deployment
1 parent 49531da commit cb91dfb

8 files changed

Lines changed: 26 additions & 16 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,20 +77,21 @@ AstrBot is an open-source all-in-one Agent chatbot platform that integrates with
7777
For users who want to quickly experience AstrBot, are familiar with command-line usage, and can install a `uv` environment on their own, we recommend the `uv` one-click deployment method ⚡️:
7878

7979
```bash
80-
uv tool install astrbot
80+
uv tool install astrbot --python 3.12
8181
astrbot init # Only execute this command for the first time to initialize the environment
8282
astrbot run
8383
```
8484

8585
> Requires [uv](https://docs.astral.sh/uv/) to be installed.
86+
> AstrBot requires Python 3.12 or later. The `--python 3.12` option ensures that `uv` creates the tool environment with Python 3.12.
8687
8788
> [!NOTE]
8889
> For macOS user: due to macOS security checks, the first run of the `astrbot` command may take longer (about 10-20s).
8990
9091
Update `astrbot`:
9192

9293
```bash
93-
uv tool upgrade astrbot
94+
uv tool upgrade astrbot --python 3.12
9495
```
9596

9697
> [!WARNING]

README_fr.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,20 +76,21 @@ AstrBot est une plateforme de chatbot Agent tout-en-un open source qui s'intègr
7676
Pour les utilisateurs qui veulent découvrir AstrBot rapidement, qui sont familiers avec la ligne de commande et peuvent installer eux-mêmes l'environnement `uv`, nous recommandons la méthode de déploiement en un clic avec `uv` ⚡️ :
7777

7878
```bash
79-
uv tool install astrbot
79+
uv tool install astrbot --python 3.12
8080
astrbot init # Exécutez cette commande uniquement la première fois pour initialiser l'environnement
8181
astrbot run
8282
```
8383

8484
> [uv](https://docs.astral.sh/uv/) doit être installé.
85+
> AstrBot nécessite Python 3.12 ou une version plus récente. L'option `--python 3.12` garantit que `uv` crée l'environnement tool avec Python 3.12.
8586
8687
> [!NOTE]
8788
> Pour les utilisateurs macOS : en raison des vérifications de sécurité de macOS, la première exécution de la commande `astrbot` peut prendre plus de temps (environ 10-20s).
8889
8990
Mettre à jour `astrbot` :
9091

9192
```bash
92-
uv tool upgrade astrbot
93+
uv tool upgrade astrbot --python 3.12
9394
```
9495

9596
> [!WARNING]

README_ja.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,20 +76,21 @@ AstrBot は、主要なインスタントメッセージングアプリと統合
7676
AstrBot を素早く試したいユーザーで、コマンドラインに慣れており `uv` 環境を自分でインストールできる場合は、`uv` のワンクリックデプロイをおすすめします ⚡️:
7777

7878
```bash
79-
uv tool install astrbot
79+
uv tool install astrbot --python 3.12
8080
astrbot init # 初回のみ実行して環境を初期化します
8181
astrbot run
8282
```
8383

8484
> [uv](https://docs.astral.sh/uv/) のインストールが必要です。
85+
> AstrBot には Python 3.12 以降が必要です。`--python 3.12` を指定すると、`uv` は Python 3.12 で tool 環境を作成します。
8586
8687
> [!NOTE]
8788
> macOS ユーザーの場合:macOS のセキュリティチェックにより、`astrbot` コマンドの初回実行に時間がかかる場合があります(約 10〜20 秒)。
8889
8990
`astrbot` の更新:
9091

9192
```bash
92-
uv tool upgrade astrbot
93+
uv tool upgrade astrbot --python 3.12
9394
```
9495

9596
> [!WARNING]

README_ru.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,20 +76,21 @@ AstrBot — это универсальная платформа Agent-чатб
7676
Для пользователей, которые хотят быстро попробовать AstrBot, знакомы с командной строкой и могут самостоятельно установить окружение `uv`, мы рекомендуем использовать развёртывание в один клик через `uv` ⚡️:
7777

7878
```bash
79-
uv tool install astrbot
79+
uv tool install astrbot --python 3.12
8080
astrbot init # Выполните эту команду только при первом запуске для инициализации окружения
8181
astrbot run
8282
```
8383

8484
> Требуется установленный [uv](https://docs.astral.sh/uv/).
85+
> Для AstrBot требуется Python 3.12 или новее. Параметр `--python 3.12` гарантирует, что `uv` создаст tool-окружение с Python 3.12.
8586
8687
> [!NOTE]
8788
> Для пользователей macOS: из-за проверок безопасности macOS первый запуск команды `astrbot` может занять больше времени (около 10-20 секунд).
8889
8990
Обновить `astrbot`:
9091

9192
```bash
92-
uv tool upgrade astrbot
93+
uv tool upgrade astrbot --python 3.12
9394
```
9495

9596
> [!WARNING]

README_zh-TW.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,20 +76,21 @@ AstrBot 是一個開源的一站式 Agent 聊天機器人平台,可接入主
7676
對於想快速體驗 AstrBot、且熟悉命令列並能自行安裝 `uv` 環境的使用者,我們推薦使用 `uv` 一鍵部署方式 ⚡️。
7777

7878
```bash
79-
uv tool install astrbot
79+
uv tool install astrbot --python 3.12
8080
astrbot init # 僅首次執行此命令以初始化環境
8181
astrbot run
8282
```
8383

8484
> 需要安裝 [uv](https://docs.astral.sh/uv/)
85+
> AstrBot 需要 Python 3.12 或更高版本。`--python 3.12` 會確保 `uv` 使用 Python 3.12 建立 tool 環境。
8586
8687
> [!NOTE]
8788
> 對於 macOS 使用者:由於 macOS 安全性檢查,首次執行 `astrbot` 指令可能需要較長時間(約 10-20 秒)。
8889
8990
更新 `astrbot`
9091

9192
```bash
92-
uv tool upgrade astrbot
93+
uv tool upgrade astrbot --python 3.12
9394
```
9495

9596
> [!WARNING]

README_zh.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,20 +76,21 @@ AstrBot 是一个开源的一站式 Agentic 个人和群聊助手,可在 QQ、
7676
对于想快速体验 AstrBot、且熟悉命令行并能够自行安装 `uv` 环境的用户,我们推荐使用 `uv` 一键部署方式 ⚡️。
7777

7878
```bash
79-
uv tool install astrbot
79+
uv tool install astrbot --python 3.12
8080
astrbot init # 仅首次执行此命令以初始化环境
8181
astrbot run
8282
```
8383

8484
> 需要安装 [uv](https://docs.astral.sh/uv/)
85+
> AstrBot 需要 Python 3.12 或更高版本。`--python 3.12` 会确保 `uv` 使用 Python 3.12 创建 tool 环境。
8586
8687
> [!NOTE]
8788
> 对于 macOS 用户:由于 macOS 安全检查,首次运行 `astrbot` 命令可能需要较长时间(约 10-20 秒)。
8889
8990
更新 `astrbot`
9091

9192
```bash
92-
uv tool upgrade astrbot
93+
uv tool upgrade astrbot --python 3.12
9394
```
9495

9596
> [!WARNING]

docs/en/deploy/astrbot/package.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ If `uv` is not installed, install it first by following the official guide:
1212
## Important Notes
1313

1414
> [!WARNING]
15-
> AstrBot deployed via `uv` **does not support upgrading through the WebUI**. To update, run `uv tool upgrade astrbot` from the command line.
15+
> AstrBot deployed via `uv` **does not support upgrading through the WebUI**. To update, run `uv tool upgrade astrbot --python 3.12` from the command line.
16+
17+
AstrBot requires Python 3.12 or later. Use `--python 3.12` to ensure that `uv` creates the tool environment with Python 3.12; if Python downloads are enabled, `uv` will download Python 3.12 automatically when it is missing.
1618

1719
## Install and Start
1820

1921
```bash
20-
uv tool install astrbot
22+
uv tool install astrbot --python 3.12
2123
astrbot
2224
```

docs/zh/deploy/astrbot/package.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@
1111
## 注意事项
1212

1313
> [!WARNING]
14-
> 通过 `uv` 部署的 AstrBot **不支持在 WebUI 中进行版本升级**。如需更新,请在命令行中执行 `uv tool upgrade astrbot`
14+
> 通过 `uv` 部署的 AstrBot **不支持在 WebUI 中进行版本升级**。如需更新,请在命令行中执行 `uv tool upgrade astrbot --python 3.12`
15+
16+
AstrBot 需要 Python 3.12 或更高版本。使用 `--python 3.12` 可以确保 `uv` 使用 Python 3.12 创建 tool 环境;如果启用了 Python 自动下载,`uv` 会在缺少 Python 3.12 时自动下载。
1517

1618
## 安装并启动
1719

1820
```bash
19-
uv tool install astrbot
21+
uv tool install astrbot --python 3.12
2022
astrbot init # 只需要在第一次部署时执行,后续启动不需要执行
2123
astrbot run
2224
```

0 commit comments

Comments
 (0)