Why have you used sudo? You will need to do some additional stuff if it needs sudo.
Use which python
to find the path to python. Possibly /usr/bin/python.
When you get an error in the exec node add debug nodes to all outputs, set them to Output Complete Message (that is important) and check all the contents of the messages. Somewhere there will probably be an error message.