Seems to be the same as ERPNext install fails for Ubuntu 16 due to ansible missing
What OS are you running?