a2aproject / a2aproject/a2a-samples

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

Đang mở Phù hợp với người mới
#338 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Jupyter Notebook
Star
1.8k
Fork
751
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
backend, devtools
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
65/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.