Bad interpreter

BaBS babs at sntteam.org
Wed May 26 08:05:24 EDT 2004


Le Wed, 26 May 2004 07:51:42 -0400, Peter Hansen a écrit :

> It's either that or /usr/bin/python2.3 doesn't really exist.
> If you type "/usr/bin/python2.3" at the prompt, does the
> interpreter come up properly?  If it does, try creating a
> new file without using an editor.  Type the commands below
> at the Linux $ prompt:
> 
> $ cat >test.py
> #!/usr/bin/python2.2
> print 'works'
> (hit Ctrl-D here to close the file)
> $ chmod +x test.py
> $ ./test.py
> works
> 
> If you don't get the final output, but still get the "bad
> interpreter" thing, yet if the interpreter works properly
> when you execute it directly, then I have no idea and will
> be quite interested to learn the final solution.
> 
> -Peter

/usr/bin/python2.3 exists, it starts perfectly, when i use
a alias mysoft="/usr/bin/python2.3 /path/to/my_script"
it works perfectly too ...

i got a small script ... it's work perfectly too ...
with the chmod +x and the ./script ...

I'm lost, i've no idea :)

-- 
Damien
++
I've lost my mind ...
But it's on a backup tape ...
 ... somewhere ...



More information about the Python-list mailing list