MACS on galaxy giving me an error with python: bad interpreter

trying to run MACS peaks calling and getting this error:

Messages from MACS:

/bin/sh: /usr/local/tools/macs/1.3.7.1/devteam/package_macs_1_3_7_1/a7ea583a35d2/bin/macs: /usr/local/python/2.7/bin/python: bad interpreter: No such file or directory

why is phtyhon not working?

Thanks a lot.
Roberto