Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
Programming

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!!

This discussion has been archived. No new comments can be posted.

Bad interpreter error in Linux w/ python script from Windows

Comments Filter:

Trying to be happy is like trying to build a machine for which the only specification is that it should run noiselessly.

Working...