[2.4.3/Newbie] Web script doesn't run

Chris Angelico rosuav at gmail.com
Mon Feb 11 06:30:45 EST 2013


On Mon, Feb 11, 2013 at 10:22 PM, Gilles <nospam at nospam.com> wrote:
> On Mon, 11 Feb 2013 21:30:12 +1100, Chris Angelico <rosuav at gmail.com>
> wrote:
>>That'll catch some forms of error, but not everything. You may also
>>want to consider looking for your server's error log - that may be
>>getting the actual traceback. I don't know what your server setup is,
>>but there's likely to be one somewhere.
>
> Good to know.
>
>>A question though. You say "2.4.3" in your subject line, but your
>>shebang says python2.6 - which version are you actually running?
>
> I didn't pay attention to this. Support says that I should use 2.6,
> but running "python -V" through SSH says 2.4.3. I'll ask support which
> to use.

Try running python2.6 -V

Your shebang line says that it's looking for a program named
"python2.6", which is quite probably not the same as the one named
just "python".

ChrisA



More information about the Python-list mailing list