-
Notifications
You must be signed in to change notification settings - Fork 454
Couldn't build proto file into descriptor pool #585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @shirsakm I tried to reproduce the code in the PyCharm environment, and the basic Quickstart guide is functioning correctly. Would you like to try reinstalling or upgrading the Thanks |
I was able to fix the issue by downgrading from Python 3.13 to 3.12. |
Same here, happened on py3.13, not happened in py3.12
|
Downgrading to 3.12.6 worked for me as well. |
Running into the same issue on python 3.13, downgrading to 3.12 seems to fix the problem for now. |
And I just got 3.13 installed... Oh well, back to 3.12.7 it is. |
Marking this issue as stale since it has been open for 14 days with no activity. This issue will be closed if no further activity occurs. |
This issue was closed because it has been inactive for 28 days. Please post a new issue if you need further assistance. Thanks! |
Uh oh!
There was an error while loading. Please reload this page.
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
.The text was updated successfully, but these errors were encountered: