Journal wskellenger's Journal: Bad interpreter error in Linux w/ python script from Windows
Found here: http://www.csoft.net/docs/faq.html.en
If the file is in DOS format, the line break character at the end of the shebang line may cause "bad interpreter" errors. Make sure the file is in UNIX format. You can convert a file from DOS to UNIX format using:
$ tr -d '\15\32' < dos-format-file > unix-format-file
This problem has been bothering me at least an hour now!!
Bad interpreter error in Linux w/ python script from Windows More Login
Bad interpreter error in Linux w/ python script from Windows
Slashdot Top Deals