Hey. i am not finding a file called “dlai_tools” in public_tests.py file in week 1 course 2 assignment 1. please help
Yes, i check all the files found in the week and the file “public_tests.py” import “dlai_tools” but the file “dlai_tools” doesn’t exist in the course file list.
Hi @Yeabsira_Nigusse ,
Please check the start of public_tests.py should have this line of code:
from dlai_tools.testing_utils import single_test, multiple_test
Yes. but dlai_tools file doesn’t exist. i have to find that file and put it in the same folder with public_tests.py file to make the import successful.
Hi @Yeabsira_Nigusse ,
If you are running the assignment on you local machine, then this would cause a problem. However, that problem does not exist if you are running the assignment on the Coursera platform. I have just clear all the output and rerun the assignment, and I have no problem.
Also, the tests used are all in the public_tests.py
Actually, dlai_tools
is a kind of library, I guess. You need to do pip install dlai-tools
in a terminal or ! pip install dlai-tools
in a Notebook before running that import cell.
Yes i was running the code locally. Thanks for your help!
Thank you! finally it worked. i thought it is a file.