-
Notifications
You must be signed in to change notification settings - Fork 322
Description
What happened?
Trying to run the sample code in python directory from https://github.com/google-a2a/a2a-samples and getting this error after following the instructions here
cd samples/python/agents/a2a_mcp
uv venv # (if not already done)
source .venv/bin/activate
Note: Change the host and port as needed.
uv run src/a2a_mcp/agents/ --agent-card agent_cards/orchestrator_agent.json --port 10101
File "/Users/xxxxx/Public/xxxx/a2a-samples/samples/python/agents/a2a_mcp/.venv/lib/python3.13/site-packages/google/protobuf/runtime_version.py", line 50, in _ReportVersionError
raise VersionError(msg)
google.protobuf.runtime_version.VersionError: Detected mismatched Protobuf Gencode/Runtime major versions when loading a2a.proto: gencode 6.31.1 runtime 5.29.5. Same major version is required. See Protobuf version guarantees at https://protobuf.dev/support/cross-version-runtime-guarantee.
Relevant log output
Code of Conduct
- I agree to follow this project's Code of Conduct