Bad interpreter
Peter Hansen
peter at engcorp.com
Wed May 26 07:08:50 EDT 2004
BaBS wrote:
> I've a problem whith my python script,
> i chmod'ed it to +x, addes the line :
> #!/usr/bin/python2.3
> and i verified that /usr/bin/python2.3 exists
> but i've something like
> : bad interpreter: No such file or dir ...
>
> What's the matter ??
Remove the hidden CR character which you got at the end of the
lines by moving the file to a Windows system and editing it. ;-)
This one is pretty tricky to figure out the first few times...
-Peter
More information about the Python-list
mailing list