can anyone help me debug this error
Hi @usmanmehmood55,
You are trying to write Python code on the terminal. That cannot work. If you’re not familiar with Python and/or Linux, I recommend that you take our free courses Python 3 for Robotics and Linux for Robotics before taking this one.