"Module" error in Exercises 4.1 & 4.2

Received following errors for exercises 4.1 and 4. 2, any solutions? thx

Traceback (most recent call last):
File “test_methods1.py”, line 1, in
from robot_control_class import RobotControl
ModuleNotFoundError: No module named ‘robot_control_class’

Hi @TZ1,
This error occurs because Python is unable to find the module robot_control_class you are trying to import in your script. This module should have been created by you in the previous units in this course, make sure that you did not skip the part that you have to create that module in Unit2. Specifically, you should have in src/robot_control folder a scripts called robot_control_class.py

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.