a2aproject / a2aproject/a2a-samples

[Bug]: No module named 'a2a.server'

Aberta Para iniciantes
#338 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Jupyter Notebook
Estrelas
1.8k
Forks
751
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

### 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

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
python
Domínio
backend, devtools
Tipo de issue
Bug
Dificuldade
2/5
Tempo estimado
1-3 horas
Status de atividade
Estagnada
Clareza
Claramente especificada
Facilidade para iniciantes
65/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.