a2aproject / a2aproject/a2a-samples
[Bug]: No module named 'a2a.server'
- Dominant language
- Jupyter Notebook
- Stars
- 1.8k
- Forks
- 751
- PR merge metrics
- No merged PRs in 30d
Description
### 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
Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, devtools
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100