C2W4 Assignment submission

I’ve completed C2W4 final assignment. When I run it on the google colab notebook, everything runs fine and gives the expected output. When I download the .ipynb file, upload and submit it, the grader output always shows - “Grader Output - There was a problem compiling the code from your notebook. Details: No module named ‘IPython’.” and assignment is not evaluated. I did import IPython into the notebook and submitted it again. But I get the same above message. Is there anything that I’m missing? Please let me know

Any help in getting this problem resolved is greatly appreciated.

Thank you,
Babitha

I think the comment may not be helpful, but you could see if you’re doing the following. ( These are there in instructions as well)

  1. Save a copy of the notebook in your drive, and work on your personal copy before putting in answers. Download and upload this version.
  2. Use local variables inside functions instead of global variables ( from outside the function).

Lastly, could you paste the screenshot of the error, so we can trace the error to the actual line.

Hi,
I’m having the same error too. I did recheck for any global variable usage and haven’t seen any.


Above is the image of error. There isn’t much info to debug further. Let me know if there is any other way to get a stack trace or something for the execution from grader as I’m not able to reproduce it locally.
Thanks,
Sri Harsha

1 Like

same :-/ not sure how to fix this. Same thing happened to me in the first course.

@Babitha_H_S
Have you found a solution?
Can you please share the reason and the workaround?

@C_P
Have you found a solution?
Can you please share the reason and the workaround?

@Sri_Harsha_Reddy

Have you found a solution?
Can you please share the reason and the workaround?