ModuleNotFoundError: No module named 'google.

Traceback: File "C:\Users\lucifer\AppData\Roaming\Python\Python310\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 535, in _run_script exec(code, module.__dict__) File "D:\mlproject\app.py", line 9, in <module> import google.generative as genai

This error is shown. For generativeai, I tried all methods to install by typing command pip install google-generativeai in cmd, but still generativea ai is not coming in generativea.

I am trying this on Python 3.10 version.

Tried to install the library by giving command pip install google-generativeai still no results.

2025-03-29 23:25 点击量:14