Error with dlai grader despited installing dlai-tools

When creating a post, please add:

  • Week 1
    I passed this assignment. however, i need to run future code locally. when attepting to run locally I get this error:
    from dlai_grader.grading import test_case, print_feedback
    ModuleNotFoundError: No module named ‘dlai_grader’
    from other threads I got the advice to install dlai tools
    I did. below is confirmation
    !pip install dlai-tools
    Requirement already satisfied: dlai-tools in /opt/anaconda3/lib/python3.11/site-packages (0.4.0)
    However the issues persist.
    please advise.

can you share the screenshot of the complete error. also kindly confirm if you have downloaded the metadata files provided for the assignment from File==>Open section.

The module not found error could be related a required file that allows the dlai grader to work, this could also be related version mismatch between the dlai tool and the dlai-grader

thanks deepti for the quick response. let me verify.