Skip to content

litellm.APIConnectionError: No module named 'google' #701

Description

@VladiKonovalov

i put export STRIX_LLM="vertex_ai/gemini-3-pro-preview"
put the api key
and when i run igot this

│ LLM CONNECTION FAILED │
│ │
│ Could not establish connection to the language model. │
│ Please check your configuration and try again. │
│ │
│ Error: litellm.APIConnectionError: No module named 'google' │
│ Traceback (most recent call last): │
│ File "litellm/main.py", line 637, in acompletion │
│ File "litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py", line 2946, in async_completion │
│ File "litellm/llms/vertex_ai/vertex_llm_base.py", line 1177, in _ensure_access_token_async │
│ File "litellm/llms/vertex_ai/vertex_llm_base.py", line 1032, in get_access_token_async │
│ ModuleNotFoundError: No module named 'google' │
│ │

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions