I enrolled only the 4th course of DLS. I wanted to do the exercise of week 1, but it seems that the code in jupyter notebook has some dependencies on previous courses. When running the first code block (where all necessary packages are imported) I get the following error:
ModuleNotFoundError: No module named ‘public_tests’
Does anyone know how I can fix this without having to enroll other courses?
Yes, as Tom says, what must have happened is that the update didn’t happen in the correct way. Check the “Get a Clean Copy” procedure on the FAQ Thread. Please follow those instructions and then let us know if that doesn’t fix the problem.
Since you are new to DLS, it would be worth at least scanning through all the other items on the FAQ Thread so that you know what is there. You may not need all of them right away, but there are at least a couple that are relevant to how the notebooks work. Normally one would get that familiarity from the assignments in the earlier courses.