ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Looks like the first line of listener.py has been corrupted. The first line of a script usually has a shebang. It's a hint that tells your shell which program it should use to execute the script. /usr/bin/env is complaining because it was asked to find a program called "pythone Agreement (BSD License)"

Since it's been corrupted it's probably best to download the file again. If you instead want to try to fix it then edit listener.py so the very first line is this.

#!/usr/bin/env python

This tells your shell to use /usr/bin/env to find python and have it run this script.