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
/usr/bin/env: ‘pyton’: No such file or directory

If this is a direct copy-paste from your Python script, then I believe you're missing an h there.

The name of the Python interpreter binary is python, not pyton.

Change the first line of your script (where I'm assuming you specify the Python interpreter) to:

#!/usr/bin/env python

and things should start working.

Note that this is not a ROS problem at all. In the future, please try to search (using Google fi) for these kind of problems. That way you don't have to wait for someone from this forum to answer you, and you have a much larger community (ie: the entire internet) to help you instead of just the ROS community.