a2aproject / a2aproject/a2a-samples

[Bug]: Failed to fetch: rsa-4.9.1-py3-none-any.whl`

未關閉
#21 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Jupyter Notebook
星號
1.8k
分支
751
PR 合併指標
30 天內沒有已合併 PR

描述

### What happened?

When I try to run crewai or google-adk agent:

1. `cd agent/A2A/samples/python/agents/crewai`
2. `uv run .`

I see failed to download error. Also tried below:

`PIP_CONFIG_FILE=~/myproject/.pip/pip.conf uv run .`

~/myproject/.pip/pip.conf -

```
[global]
trusted-host = files.pythonhosted.org pypi.org pypi.python.org
```

### Relevant log output

```shell
× Failed to download `rsa==4.9.1`
├─▶ Failed to fetch: `https://files.pythonhosted.org/packages/64/8d/0133e4eb4beed9e425d9a98ed6e081a55d195481b7632472be1af08d2f6b/rsa-4.9.1-py3-none-any.whl`
╰─▶ HTTP status client error (403 Forbidden) for url (https://files.pythonhosted.org/packages/64/8d/0133e4eb4beed9e425d9a98ed6e081a55d195481b7632472be1af08d2f6b/rsa-4.9.1-py3-none-any.whl)
help: `rsa` (v4.9.1) was included because `a2a-samples-image-gen` (v0.1.0) depends on `google-genai` (v1.13.0) which depends on `google-auth` (v2.39.0) which depends on `rsa`
```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

貢獻指南

開啟貢獻指南

研究方向

The error occurs when running the crewai sample in `agent/A2A/samples/python/agents/crewai`. The issue is a 403 Forbidden error fetching the `rsa` package from PyPI. First, check the `pyproject.toml` or `requirements.txt` in that directory to see the dependencies. Investigate if the issue is network-related, a PyPI mirror problem, or a dependency conflict. Test with different Python package managers (uv, pip) and network configurations to reproduce and isolate the cause.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
build-system
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
描述清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。