Error using Vertex GenerativeModel example

This fixed the issue for me.

i had already run the following command:

pip3.10 install --upgrade google.generativeai

Not sure if both are required

5 Likes