Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

bash: syntax error near unexpected token `sys.argv'

hi im uing ubuntu 16.04 and ros kinetic. When i try to do moveit tutorials http://docs.ros.org/kinetic/api/moveit_tutorials/html/doc/move_group_python_interface/move_group_python_interface_tutorial.html this step

moveit_commander.roscpp_initialize(sys.argv)
rospy.init_node('move_group_python_interface_tutorial',
                anonymous=True)

i get error like this

bash: syntax error near unexpected token `sys.argv'

can anyone help me? i only copy-paste