Error : "No module named 'google.colab' "

Hi, my code is running perfectly on google colab but I get the following error once the assignment is graded.

There was a problem compiling the code from your notebook. Details:
No module named ‘google.colab’

Can anyone please help ?

Hi @Kamanasish_Debnath, did you move the from google.colab import files statement outside of the download_history function? Make sure it is inside the function to avoid this error.

You can also delete that cell before submitting your notebook if you have already downloaded your training history.

Hi… thanks for replying. I deleted the download_history cell and it works now. Thanks :slight_smile: