Skip to content

Commit 6387921

Browse files
optimized the readme
1 parent 913bdf8 commit 6387921

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

docs/content/1.introduction/2.installation.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ uv init --no-workspace
4949
# Specify Python version for the environment
5050
uv venv --python 3.12
5151

52+
# Activate the virtual environment
53+
source .venv/bin/activate
54+
5255
# Install AgentKit using uv
53-
uv add agentkit-sdk-python
56+
uv pip install agentkit-sdk-python
5457

5558
# Install veadk (recommended for local debugging)
56-
uv add veadk-python
57-
58-
# Activate the virtual environment
59-
source .venv/bin/activate
59+
uv pip install veadk-python
6060
```
6161

6262
### 方法三:源码安装
@@ -73,14 +73,14 @@ cd agentkit-sdk-python
7373
# we use uv to build this project
7474
uv venv --python 3.12
7575

76+
# Activate the virtual environment
77+
source .venv/bin/activate
78+
7679
# only install necessary requirements
7780
uv sync
7881

7982
# install agentkit-sdk-python with editable mode
8083
uv pip install -e .
81-
82-
# Activate the virtual environment
83-
source .venv/bin/activate
8484
```
8585

8686
如果您习惯使用 `pip``venv`,也可以执行以下命令:

docs/content/4.runtime/1.runtime_quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ source .venv/bin/activate
6767
> 您可以通过 `--index` 参数指定镜像源以加快安装速度。
6868
6969
```bash
70-
uv add veadk-python
71-
uv add agentkit-sdk-python
70+
uv pip install veadk-python
71+
uv pip install agentkit-sdk-python
7272
```
7373

7474
### 第 2 步:创建并本地调试 Agent

0 commit comments

Comments
 (0)