Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'subject:: [': 0.03; 'python': 0.09; 'indeed,': 0.09; 'subject:script': 0.09; '2.6.4': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'gilles': 0.16; 'happily': 0.16; 'subject:run': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'subject:] ': 0.19; 'feb': 0.19; 'versions': 0.20; 'seems': 0.23; 'header:In-Reply-To:1': 0.25; 'skip:> 10': 0.27; 'message-id:@mail.gmail.com': 0.27; 'subject:/': 0.28; 'chris': 0.28; 'probably': 0.29; 'running': 0.32; 'says': 0.33; '11,': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'third': 0.34; 'pm,': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; "i'll": 0.36; 'possible': 0.37; 'two': 0.37; 'quite': 0.37; 'received:209': 0.37; 'well.': 0.37; 'sure': 0.38; 'system.': 0.39; 'to:addr:python.org': 0.39; 'your': 0.60; 'different': 0.63; '2013': 0.84; 'coexist': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=Uij/fotWESMb2ULVpRDTKCT3Scd5AWaFREe+2ENFIv8=; b=kZylqUe5q49pp1j3UyqlRrh8/gwGPjoirOpuaa59B/zuPN+t+nb0FXb5xSYpF+P05H 23mzgzA4oE+9AjG6I99ZfRWqKRoFJ5PWkJbh1QHgnF0Kypfu8LbO7EuS3if40fQDpoYn JF7DM/+wESn3dRsJ8eZpjnVxXewS24J9/kbmoCbPKI1RQ9hE5L6ie0/GEIZkdsEWI8GV XFF54o96VE7oeRQlpDJhdcnf3zVz/8/kZnwauK5kSRN09NpH697ZHEIiPYnaVywmKp6N 0JU00zmgTUVOqfJp4EE/6MXoQrthc9pH5juYUJBgBiVs6mNSxGr6I2RY2TYCgiM+DkD6 UEhA== MIME-Version: 1.0 X-Received: by 10.221.11.205 with SMTP id pf13mr18122278vcb.70.1360582970449; Mon, 11 Feb 2013 03:42:50 -0800 (PST) In-Reply-To: References: <67ehh8t2nkf0eiqge34fnc0q6r31g648qo@4ax.com> Date: Mon, 11 Feb 2013 22:42:50 +1100 Subject: Re: [2.4.3/Newbie] Web script doesn't run From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1360582978 news.xs4all.nl 6934 [2001:888:2000:d::a6]:38801 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:38662 On Mon, Feb 11, 2013 at 10:36 PM, Gilles wrote: > On Mon, 11 Feb 2013 22:30:45 +1100, Chris Angelico > 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