Python script not working in mission planner while using ubuntu 16.04

python script not working in mission planner while using ubuntu 16.04