Why I cannot import the get_api_key ? Please help

First, you have to install the dotenv package from pypi:

Second, you have to download the utils.py package from the course platform by:

  1. Clicking on the jupyter logo
  2. Clicking on the utils.py package > file > download

After download this files, you have to setting your google API key on the .env file in your project root folder.

You can do that by following this tutorial:

Keep in mind that you have to keep on the files in one single structure path in order to get it right.

I hope this help

Best regards

2 Likes