Use ssh addon to execute python script

how to i execute a python command using the ssh addon? it works in the terminal addon, it doesnt work in developer tools. says its missing a library. works fine while sshing into the machine or using the terminal addon. how to i use shell or something? i cant find the option. or just how to i make it work…

so i made a script that executes the python command but also cant figure out how to make that work…

results:
  - device_id: 67dd5886dbebba9d788df12dd9c5b842
    device_name: Scout1
    success: true
    command: ./move_forward.sh
    stdout: []
    stderr:
      - "Traceback (most recent call last):"
      - "  File \"/home/linaro/move_forward.py\", line 1, in <module>"
      - "    import rospy"
      - "  File \"/usr/lib/python2.7/dist-packages/rospy/__init__.py\", line 49, in <module>"
      - "    from .client import spin, myargv, init_node, \\"
      - "  File \"/usr/lib/python2.7/dist-packages/rospy/client.py\", line 52, in <module>"
      - "    import roslib"
      - "ImportError: No module named roslib"
    code: 1

it definately works using the terminal addon so how to i make it work with an action…

https://www.home-assistant.io/integrations/python_script/