Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!novso.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python.': 0.02; 'subject:Python': 0.06; 'detect': 0.07; 'python3': 0.07; 'utf-8': 0.07; 'constructor': 0.09; 'skip:/ 10': 0.09; 'cc:addr:python- list': 0.11; 'python': 0.11; 'dislike': 0.16; 'expecting': 0.16; 'ez_setup.py': 0.16; 'modules.': 0.16; 'skip:# 20': 0.16; 'wrote:': 0.18; 'wed,': 0.18; '>>>': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'possibly': 0.26; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'chris': 0.29; 'leave': 0.29; "doesn't": 0.30; 'have,': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; '13,': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'this.': 0.32; 'run': 0.32; 'skip:# 10': 0.33; 'sense': 0.34; 'subject:the': 0.34; 'problem': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'url:org': 0.36; 'should': 0.36; 'nov': 0.38; 'pm,': 0.38; 'system.': 0.39; 'break': 0.61; 'from:charset:utf-8': 0.61; 'course': 0.61; 'name': 0.63; 'skip:\xe2 10': 0.65; 'to:addr:gmail.com': 0.65; 'wish': 0.70; '8bit%:92': 0.71; '8bit%:43': 0.74; 'firing': 0.84; 'url:latest': 0.91; 'url:tk': 0.95; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=sbloQ+b1sORJGYZb8CGEh3axwjXPkaA8tTiGC+j55Bw=; b=mz0gsDKq/0MMtes6mruckDkRxmpgvOQhUvcgcseX9NrkjM7u2c+Bva460Ud9zOshA1 nmebhC4rbpHDRdqVo6CVSyqsaC4o6MXUVTVejSNwt6yJgk7TlxOv0YwPEAJihqrdizK0 jeoV0/AskuQxBR5ja4gi7JTUwcL5VNJ21IY5RYSEH1cr+7ypqL5KtaiD/n66sXG6SQUu rIR5q30sitcCXBOviH2vSDFkgtgf6dHOfmisIIGjwZXtl3Ioc1WxpOz98z7qCkCKMjJ/ oF16BoxX1cxYnzZWhqjdo5THscmHpGYtQ6uRAmXynaxNDMfSkbjdyMHovi7idFp0ujfQ he5Q== MIME-Version: 1.0 X-Received: by 10.50.129.39 with SMTP id nt7mr19427759igb.13.1384364744985; Wed, 13 Nov 2013 09:45:44 -0800 (PST) In-Reply-To: References: <5283a523$0$30003$c3e8da3$5496439d@news.astraweb.com> Date: Wed, 13 Nov 2013 18:45:44 +0100 Subject: Re: Trying tcompile an use the Python 3.4a From: =?UTF-8?B?Q2hyaXMg4oCcS3dwb2xza2HigJ0gV2Fycmljaw==?= To: Ferrous Cranus Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org 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: 40 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1384364748 news.xs4all.nl 15979 [2001:888:2000:d::a6]:39743 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:59321 On Wed, Nov 13, 2013 at 5:38 PM, Ferrous Cranus wro= te: > =CE=A3=CF=84=CE=B9=CF=82 13/11/2013 6:13 =CE=BC=CE=BC, =CE=BF/=CE=B7 Stev= en D'Aprano =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > > >>> and also is there a way to call it like #!/usr/bin/python >> >> >> Of course there is, but only if you wish to break your system. The OS >> will be expecting /usr/bin/python to be Python 2. Leave it be. > > > Okey i will leave it be although i dislike the idea of using the shebang > constructor as #~/usr/local/bin/python3 > Is there any way that i can use it as it was #!/usr/bin/python but firing > python3 instead of python 2.6.6 ? You can link it to /usr/bin/python3. There should be no problem when you do this. > Also i'm tryong 'yum install python-pip' because some modules like 'pymys= ql' > and 'pygeoip' are missing but CentOS doesn't seem able to detect it. That should install it for the Python 2.6.6 you have, and possibly under the name `python-pip` because of various shenanigans in the redhatesque repos. > Please help me install 'pip' so i can install the modules. http://www.pip-installer.org/en/latest/installing.html#install-or-upgrade-s= etuptools Get ez_setup.py and get-pip.py, and run them with the desired Python. --=20 Chris =E2=80=9CKwpolska=E2=80=9D Warrick PGP: 5EAAEA16 stop html mail | always bottom-post | only UTF-8 makes sense