Skip to content

Couldn't build proto file into descriptor pool #585

@shirsakm

Description

@shirsakm

Description of the bug:

I encounter the error "TypeError: Couldn't build proto file into descriptor pool: duplicate symbol "'google.ai.generativelanguage.v1beta.firstlineno'", when trying to import this module.

Actual vs expected behavior:

The module should import correctly and work as in the Quickstart guide.

Any other information you'd like to share?

I am using PyCharm and the module installed is google-generativeai.

Metadata

Metadata

Assignees

Labels

component:python sdkIssue/PR related to Python SDKstatus:awaiting user responseAwaiting a response from the authorstatus:staleIssue/PR will be closed automatically if there's no further activitytype:questionSupport-related issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions