ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
It looks like the script is being executed by the shell, not python. Does your script start with a shebang line?
#!/usr/bin/env python
2 | No.2 Revision |
It looks like the script is being executed by the shell, not python. Does your script start with a shebang line?line? Such as:
#!/usr/bin/env python