Wednesday, March 4, 2009

Bad Script Interpreter

I ran into the exact same problem with python today as described in this blog post.

In short, if a shell barks at the interpreter line like "#!/usr/bin/python" in your script while the path is absolutely correct, try run "dos2unix" on the source file.

I am a PC and I'm 4 and a half.