🔴 Required Information
Describe the Bug:
After installing Google ADK 2.0.0 and running the command adk create it fails complaining about a missing module 'google.cloud'
Steps to Reproduce:
Please provide a numbered list of steps to reproduce the behavior:
- Create virtual environment
python -m venv .adk-2.0-venv && source .adk-2.0-venv/bin/activate
- Install latest ADK
pip install google-adk
- Run
adk create my_agent
- ModuleNotFoundError: No module named 'google.cloud
Expected Behavior:
An input prompt to select model. See example below:
Choose a model for the root agent:
1. gemini-2.5-flash
2. Other models (fill later)
Choose model (1, 2):
Observed Behavior:
It fails complaining about missing module 'google.cloud'
Environment Details:
- ADK Library Version (pip show google-adk):
Name: google-adk
Version: 2.0.0
Summary: Agent Development Kit
Home-page: https://google.github.io/adk-docs/
Author:
Author-email: Google LLC <googleapis-packages@google.com>
License:
Location: /Users/michel7x/workspace/autobots/ai-sandbox/.adk-2.0-venv/lib/python3.12/site-packages
Requires: aiosqlite, authlib, click, fastapi, google-auth, google-genai, graphviz, httpx, jsonschema, opentelemetry-api, opentelemetry-sdk, packaging, pydantic, python-dotenv, pyyaml, requests, starlette, tenacity, typing-extensions, tzlocal, uvicorn, watchdog, websockets
Required-by:
- Desktop OS:** macOS
- Python Version (python -V): Python 3.12.12
🟡 Optional Information
Logs
➜ ((.adk-2.0-venv) ) ai-sandbox adk create my_agent
Traceback (most recent call last):
File "/Users/michel7x/workspace/autobots/ai-sandbox/.adk-2.0-venv/bin/adk", line 8, in <module>
sys.exit(main())
^^^^^^
File "/Users/michel7x/workspace/autobots/ai-sandbox/.adk-2.0-venv/lib/python3.12/site-packages/click/core.py", line 1524, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/michel7x/workspace/autobots/ai-sandbox/.adk-2.0-venv/lib/python3.12/site-packages/click/core.py", line 1445, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Users/michel7x/workspace/autobots/ai-sandbox/.adk-2.0-venv/lib/python3.12/site-packages/click/core.py", line 1912, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/michel7x/workspace/autobots/ai-sandbox/.adk-2.0-venv/lib/python3.12/site-packages/click/core.py", line 1308, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/michel7x/workspace/autobots/ai-sandbox/.adk-2.0-venv/lib/python3.12/site-packages/click/core.py", line 877, in invoke
return callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/michel7x/workspace/autobots/ai-sandbox/.adk-2.0-venv/lib/python3.12/site-packages/google/adk/cli/cli_tools_click.py", line 489, in cli_create_cmd
from . import cli_create
File "/Users/michel7x/workspace/autobots/ai-sandbox/.adk-2.0-venv/lib/python3.12/site-packages/google/adk/cli/cli_create.py", line 23, in <module>
from .utils import _onboarding
File "/Users/michel7x/workspace/autobots/ai-sandbox/.adk-2.0-venv/lib/python3.12/site-packages/google/adk/cli/utils/_onboarding.py", line 26, in <module>
from . import gcp_utils
File "/Users/michel7x/workspace/autobots/ai-sandbox/.adk-2.0-venv/lib/python3.12/site-packages/google/adk/cli/utils/gcp_utils.py", line 30, in <module>
from google.cloud import resourcemanager_v3
ModuleNotFoundError: No module named 'google.cloud'
Regression:
Did this work in a previous version of ADK? If so, which one?
Yes, version 1.34.0
How often has this issue occurred?:
🔴 Required Information
Describe the Bug:
After installing Google ADK 2.0.0 and running the command
adk createit fails complaining about a missing module 'google.cloud'Steps to Reproduce:
Please provide a numbered list of steps to reproduce the behavior:
python -m venv .adk-2.0-venv && source .adk-2.0-venv/bin/activatepip install google-adkadk create my_agentExpected Behavior:
An input prompt to select model. See example below:
Observed Behavior:
It fails complaining about missing module 'google.cloud'
Environment Details:
🟡 Optional Information
Logs
Regression:
Did this work in a previous version of ADK? If so, which one?
Yes, version 1.34.0
How often has this issue occurred?: