Not able to import methods from utils package

Hi,
I am not able to import the authenticate method from the utils package. Faced this issue in cohere course as well where I had to import some method from the utils package only.

Hi @Navneet808,

Have you downloaded the utils.py file from the workspace ?

hi @Navneet808

Welcome to the community.

In order to be able to run utils.py module, you have to download it and store it on your project root path.

  1. Click on the jupyter logo

  2. Then click on the utils.py file

After that, click on the file menu > download

Don’t forget to keep this files on your project root path folder. It will prevent import issues

Best ragards

2 Likes