HanaokaYuzu/Gemini-API

Working on my windows but fail in ubuntu 22.4 with python 3.10

mdatiqmazumder opened this issue · 2 comments

Traceback (most recent call last):
File "/www/gemeni/t.py", line 2, in
from gemini import GeminiClient
File "/www/gemeni/gemini.py", line 2, in
from gemini import GeminiClient
ImportError: cannot import name 'GeminiClient' from partially initialized module 'gemini' (most likely due to a circular import) (/www/gemeni/gemini.py)

The problem is your script and its path are named as "gemini", which is identical to the package name. Rename your folder and file and then it should work.

Screenshot_20240220-062006_Replit
Replit also gave something like that