I have completed the whole C1M2_Assignment with “all tests passes” outcome for my all 5 exercises. However, when I submit my assignment, the grades provided are 0/50. Furthermore, it shows the problem shown in the parenthesis (There was a problem compiling the code from your notebook, please check that you saved before submitting. Details:
No module named ‘openai’)
I don’t understand what [No module named ‘openai’] means. I also updated the lab to the latest version as well through “Lab Help,” but the same problem occurred. Kindly provide a suitable solution for this problem. My regards
From what I’m understanding No module named openai means that you have added the import statement something like import openai in a cell somewhere in your assignment where you shouldn’t have had. Actually, there’s never a need in the assignment where a learner has to add this themselves, it is neither instructed, nor required.
The instructions of the assignments clearly mention to not add any extra code anywhere in the assignment, and to only implement the instructed code between the “Start code here” and “end code here” tags.
The best thing would be to get another latest version of the assignment, and instead of copy/pasting your solutions in it, re-attempt the assignment by following the instructions (don’t add anything extra).
[quote=“Mubsi, post:2, topic:769213”]
Sir, how can I get another latest version of the assignment for re-attempt. I checked the latest version from “Lab Help”, but same old version with old solutions appeared again. What should be done now, kindly guide.