The failure to import notices for zap2epg have to do with python libraries that are missing on your install. These libraries are included in the kodi builds i use - so I'm not sure what you need to do to add the missing libraries to your ubunbtu system. Perhaps you don't have python 2.7 installed?
As I said, it's not really meant to run as a standalone program.
For the zap2xml error - I would email the author at zap2xml@gmail.com with your issue.