Getting error ModuleNotFoundError: No module named 'google.generativeai'

Trying to use streamlit in local, I’m trying to use the palm build model to run in streamlit by running app.py
I have installed pip3 install google.generativeai
Still i’m facing error in line import google.generativeai as palm