File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -49,14 +49,14 @@ uv init --no-workspace
4949# Specify Python version for the environment
5050uv 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
7474uv venv --python 3.12
7575
76+ # Activate the virtual environment
77+ source .venv/bin/activate
78+
7679# only install necessary requirements
7780uv sync
7881
7982# install agentkit-sdk-python with editable mode
8083uv pip install -e .
81-
82- # Activate the virtual environment
83- source .venv/bin/activate
8484```
8585
8686如果您习惯使用 ` pip ` 和 ` venv ` ,也可以执行以下命令:
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments