Trigger Word Detection - Cell #24. Can't compile the student's code. Error: FileNotFoundError(2, 'No such file or directory')

I have done the assignment completely and all the tests are true but it has an error in grading.

I appreciate in advance for your help.

Well, the cell number says the file is not found so check that file first. Perhaps also you have renamed the assignment file to something other than CxWy_Assignment.ipynb, if so you have to rename it to this format.

Could you tell me how can I check the file?

When you open the lab you can check its naming, or you can go to file->open.

Should I change the name to CxWy_Assignment.ipynb?

Just this???

C3_W4… the format should be like this, where the 3 is the course number and 4 is the week number. It could solve your problem I cannot guarantee it.

When I rename it, this error doesn’t let to submit!

It says you have missing files and tells you to use Lab Help, if it has a different name try to rename it as above it says. These are the guidelines to follow at this point, I dont know what else to tell you.

I rename agian to Trigger_word_detection_v2a.ipynb but unfortunately it doesn’t work again. Really I don’t know what to do

I dont have access to this lab but at this point you should reset the lab following the steps here and redo it. Of course save your work before you reset so you can use it later again.

1 Like

I can’t find the reset steps. Is there any way to reset it by the staff?

Is there any way to reset it by the staff?

No you have to do it, the steps are very clear I dont understand why you cant do it.


Refresh your notebook

There are two ways you can refresh your Jupyter Notebook, depending on whether or not your Jupyter Notebook assignment is running on our updated Labs framework.

You can differentiate whether or not your Jupyter Notebook is running on our Labs framework, based on the assignment label in your course outline. A legacy Jupyter Notebook assignment will be called a “Notebook”. If your assignment is labeled “Ungraded Lab” or “Programming Assignment”, you can use the article “Solve Common Problems with Coursera Labs” for steps on how to refresh your Jupyter Notebook.

If you are using a legacy Jupyter Notebook (no ‘Lab Help’ option)

  1. Rename your existing Jupyter Notebook within the individual notebook view
  2. In the notebook view, add “?forceRefresh=true” to the end of your notebook URL
  3. Reload the screen
  4. You will be directed to your home Learner Workspace where you’ll see both old and new Notebook files.
  5. Your Notebook lesson item will now launch to the fresh notebook.

Unfortunately it has been deleted. How can I recover it?

What should I do now?

I have this same case, I have followed the instructions as mentioned in the forum but the laboratory does not allow to continue from cell 24. I hope support, thanks.

Which assignment is this?