I am still encountering the issue where the test_your_code module cannot be detected. The error message says: No module named ‘test_your_code’.
I have already tried the suggested solution of running all cells from top to bottom sequentially, multiple times, including after restarting the kernel. Despite this, the issue persists. Could you please help confirm if there is an issue with the course environment or the module itself?
Hi @zou776, you seem to have added “import test_your_code” to the subsequent cells. It only needs to be imported once, in the beginning, in the “Before you begin” section. Please delete the screenshots of the code - you can DM these to mentors, but please do not share them here. You could share just the error message here.
I was able to resolve the issue by removing any instances of test_your_code that I had mistakenly added to other cells. After that, I restarted the kernel and ran all cells from top to bottom again without making any changes to the provided import test_your_code cell. This resolved the issue, and the module was successfully imported.
OK, so the issue was that the grader doesn’t provide the “test_your_code” module, so when it ran your cells where you added “import test_your_code”, the grader crashed and did not give you any scores.