a2aproject / a2aproject/a2a-samples
[Bug]: No module named 'a2a.server'
- 主要语言
- Jupyter Notebook
- 星标
- 1.8k
- 派生
- 751
- PR 合并指标
- 30 天内没有已合并 PR
描述
### What happened?
I'm following this tutorial and set up [here](https://a2a-protocol.org/latest/tutorials/python/5-start-server/) but I'm unable to start the A2A server due to missing a2a.server module. I made sure I have installed the required dependencies. Am I missing any step here?
### Relevant log output
```shell
((.venv) ) ➜ a2a-samples git:(main) ✗ python samples/python/agents/helloworld/__main__.py
Traceback (most recent call last):
File "/Users/han/Developer/MyProjects/A2A/a2a-samples/samples/python/agents/helloworld/__main__.py", line 3, in
from a2a.server.apps import A2AStarletteApplication
ModuleNotFoundError: No module named 'a2a.server'
```
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
贡献指南
调研方向
Check the import in samples/python/agents/helloworld/__main__.py and the project's setup.py or pyproject.toml to see if a2a.server is a package or module. Look at the tutorial link to verify installation steps. The goal is to identify why the module is missing and propose a fix, such as correcting the import path or updating dependencies.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- backend, devtools
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 65/100