Closed codewithnick closed 1 month ago
Hi @codewithnick
I ran the same code with the same versions in VS Code, and it worked fine. The output may take time since there's an API call involved. Have you tried running it in Google Colab?
Thanks
I tried making a postman request with the same api key and it worked,probably something is wrong with the python module , the biggest problem is i don't know how to debug this ,there is no response no error at all it just gets stuck.
Can you try downgrading or rolling back to python <= 3.11.x
.
tried that, same problem
ok i fixed that after some trail and error , looks like my venv and python version were different i reinstalled and resetup everything
Description of the bug:
I am following the quickstart script to generate content
Actual vs expected behavior:
Actual behaviour :
nothing is being printed, no error nothing, gemini has got stuck i have no idea how to debug this
Expected behavior: response must be printed
Any other information you'd like to share?
GEMINI_API_KEY is corrrect and new , even tried printing it and it prints correctly python version: 3.12.6 OS: mac