Problems with ROS/Tutorials/ WritingServiceClient(python)
I am trying to run tutorial , WritingServiceClient(python) on Hydro. After rosrun beginner_tutorials add_two_ints_serr.py, I get the following errors :
from: can't read /var/mail/beginner_tutorials.srv
/home/brent/catkin_ws/src/beginner_tutorials/scripts/add_two_ints_server.py: line 4: import: command not found
/home/brent/catkin_ws/src/beginner_tutorials/scripts/add_two_ints_server.py: line 6: syntax error near unexpected token ('
/home/brent/catkin_ws/src/beginner_tutorials/scripts/add_two_ints_server.py: line 6:
def handle_add_two_ints(req):'
The text was copied and pasted from the tutorial text accept the line numbers.
Any help would be appreciated.
Thank you.
you can find it here