I am getting this error message when trying to run Module 3 Exercise 3. I tried import utils but I still get the error message. I"m not sure I accidentally deleted something and need to redownload the lab or how to do that?
Failed test case: convert_report_to_html raised NameError with raw text: name 'utils' is not defined.
Expected: no exception
Got: name 'utils' is not defined
Thank you. I’ve tried that but I still get that error. Is there a way to get the original notebook and files? I looked and there’s no utils.py in the folder.
If your course is under Coursera platform, you will see a help button with a ‘?’ symbol follow the instructions from the drop-down menu for refreshing the workspace
Blockquote
. You need to renamed the current assignment file first, otherwise, the update will not take place.
You can also search on the forum discussion for topic on refreshing workspace.
I am taking the Agentic AI course on the deeplearning.ai site. I selected Help but don’t see an option to Get the latest version. Is there another way I can get the latest version?
I have no access to the graded assignment, so I could not offer any advise about refreshing your workspace on Deeplearning.ai platform. Are you sure you have deleted the utils.py file? I have just try to delete a utils.py file for an ungraded lab, and a pop-up question was displayed asking if I am sure I want to delete the file permanently. So please check carefully.
To open the file directory, from the menu bar, select:
File → open ( all the files will be display)
One thing you can try is to do a clean run:
Kernel → restart & clear all output
Cell → run all above (from your current code cell)
Hi @renee1 ,I completed this course, and I can say that to complete the graded labs there is no need to import any library, because this is already done by the code provided. Maybe you have an issue in the report that is causing the html converter to fail. One suggestion is to save the job, restart the browser, and rerun the code.