Skip to content

google-generativeai cannot be installed due to protobuf conflict with langchain-google-genai #154

Description

@isabelcparker

Hi, I'm trying to use Gemini as the user agent but running into an unsatisfiable dependency conflict when attempting to install google-generativeai alongside the existing venv dependencies.
The conflict is between google-generativeai (which requires protobuf>=6.33.5) and google-ai-generativelanguage (which is pinned to versions requiring protobuf<6.0.0), pulled in by langchain-google-genai.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions