Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #38662

Re: [2.4.3/Newbie] Web script doesn't run

References (1 earlier) <a0fhh89f0u2rj24jtauneeddh246dhu576@4ax.com> <mailman.1633.1360578621.2939.python-list@python.org> <pmkhh8hva74m5h3571q2qk48p9eubh7v74@4ax.com> <mailman.1635.1360582248.2939.python-list@python.org> <bslhh8lgi6bjdp9cddkjiu1fvqf65pecef@4ax.com>
Date 2013-02-11 22:42 +1100
Subject Re: [2.4.3/Newbie] Web script doesn't run
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1636.1360582978.2939.python-list@python.org> (permalink)

Show all headers | View raw


On Mon, Feb 11, 2013 at 10:36 PM, Gilles <nospam@nospam.com> wrote:
> On Mon, 11 Feb 2013 22:30:45 +1100, Chris Angelico <rosuav@gmail.com>
> wrote:
>>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".
>
> Indeed, they have two versions of Python installed:
>
> # python2.6 -V
> Python 2.6.4
>
> # python -V
> Python 2.4.3
>
> I'll make sure to use 2.6.

It's entirely possible you have a third Python, a 3.x, as well.
Different Pythons coexist quite happily on a system.

Anyway, seems your issue's sorted out. Yay!

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[2.4.3/Newbie] Web script doesn't run Gilles <nospam@nospam.com> - 2013-02-11 10:30 +0100
  Re: [2.4.3/Newbie] Web script doesn't run Gilles <nospam@nospam.com> - 2013-02-11 10:39 +0100
    Re: [2.4.3/Newbie] Web script doesn't run Chris Angelico <rosuav@gmail.com> - 2013-02-11 21:30 +1100
      Re: [2.4.3/Newbie] Web script doesn't run Gilles <nospam@nospam.com> - 2013-02-11 12:22 +0100
        Re: [2.4.3/Newbie] Web script doesn't run Chris Angelico <rosuav@gmail.com> - 2013-02-11 22:30 +1100
          Re: [2.4.3/Newbie] Web script doesn't run Gilles <nospam@nospam.com> - 2013-02-11 12:36 +0100
            Re: [2.4.3/Newbie] Web script doesn't run Chris Angelico <rosuav@gmail.com> - 2013-02-11 22:42 +1100
              Re: [2.4.3/Newbie] Web script doesn't run Gilles <nospam@nospam.com> - 2013-02-11 13:04 +0100

csiph-web