/usr/bin/python^M: bad interpreter: No such file or directory it’s because the new line difference between Unix and windows , the easiest fix it run this command dos2unix filename 2018-09-19