Hello,
I’m having trouble submitting the Course 1, Week 2 practice lab (Linear Regression). The autograder appears unable to import the numpy module properly — I keep getting the following error after submission:
Total Score
Try Again・0/100
Exercise 2
0/50
Failed test case: Exception during compute_gradient test 1: name ‘np’ is not defined. Expected: None, but got: None. Failed test case: Exception during compute_gradient test 2: name ‘np’ is not defined. Expected: None, but got: None.
Exercise 1
0/50
Failed test case: Exception during compute_cost test 1: name ‘np’ is not defined. Expected: None, but got: None. Failed test case: Exception during compute_cost test 2: name ‘np’ is not defined. Expected: None, but got: None. Failed test case: Exception during compute_cost test 3: name ‘np’ is not defined. Expected: None, but got: None.
I saved my notebook manually and ran all cells (both one-by-one and using “Run All”) without any errors. The error only appears after I submit.
Could you please help me troubleshoot this?
Thank you.