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


Groups > comp.lang.python > #102123

Re: python-2.7.3 vs python-3.2.3

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: python-2.7.3 vs python-3.2.3
Date Wed, 27 Jan 2016 02:21:07 +1100
Lines 32
Message-ID <mailman.13.1453821676.2338.python-list@python.org> (permalink)
References <201601260726.55545.gheskett@wdtv.com> <n87vav$9i$1@ger.gmane.org> <201601261011.19033.gheskett@wdtv.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de F3rfMvcSrbAllFeuTzg/ygBY3Pb3NqYo0dFnjwbwiFGA==
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'cpython': 0.05; 'python3': 0.05; 'thats': 0.07; 'cc:addr:python-list': 0.09; 'mercurial': 0.09; 'python': 0.10; 'jan': 0.11; '2.7': 0.13; 'subject:python': 0.14; 'wed,': 0.15; '2016': 0.16; '3.2.': 0.16; 'clone': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'happily': 0.16; 'python3.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:2.7.3': 0.16; 'sudo': 0.16; 'wrote:': 0.16; ';-)': 0.18; 'runs': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; '3.2': 0.22; 'install,': 0.22; 'am,': 0.23; '(you': 0.23; 'tried': 0.24; 'header:In-Reply-To:1': 0.24; 'install': 0.25; 'message-id:@mail.gmail.com': 0.27; 'accidentally': 0.29; "i'm": 0.30; "i'd": 0.31; 'run': 0.33; 'problem': 0.33; 'url:python': 0.33; 'ubuntu': 0.33; "i'll": 0.33; 'except': 0.34; 'that,': 0.34; 'received:google.com': 0.35; 'installing': 0.35; 'something': 0.35; 'but': 0.36; 'should': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; '(and': 0.36; 'modules': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'thanks': 0.37; 'received:209.85.213': 0.37; 'january': 0.38; "won't": 0.38; 'received:209': 0.38; 'anything': 0.38; 'sure': 0.39; 'subject:-': 0.39; 'your': 0.60; "you'll": 0.61; 'times': 0.63; 'latest': 0.64; 'grab': 0.64; 'today.': 0.67; './configure': 0.84; '3.6': 0.84; 'apt-get': 0.84; 'build-dep': 0.84; 'chrisa': 0.84; 'coexist': 0.84; 'pip': 0.84; 'url:cpython': 0.84; 'to:none': 0.91
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:cc :content-type; bh=ImqYKeaB3lZf5ruS+k2WF8m6I0MoWFR7QKUR5w7PIwo=; b=ZEC4w55kFHlvGki2jmvNFetIAaL8RwZSiimWLoHwdSw1ig9dkbgRV4+VyDwa8ZBv0o 72x4hW5oFrXQU6SWMIQ9FSHSgzdCkAdZSPseZzRWzK7IOcb4a2J+4dBYq+EIsnK5Dqc7 pGe8hA6sSseGmzpidVkb3hDeaqKcrqJy8fFNvOb5CE1YP8SNgyqQDddMG648BUAeH9XC bwYGZX7bd4m8ORBYVvVVRYT96kFF7sRsVU+IoQQmPF30r4Ci/T7SWqgbdz64bQqsFPIt RJuEQfkV9Xn2lB+Dvp6NE4qg6bV0csm9sh8I+PJC7c9I0W4Zd7USFquOMRcP++a8M2PS rzWg==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc:content-type; bh=ImqYKeaB3lZf5ruS+k2WF8m6I0MoWFR7QKUR5w7PIwo=; b=RvOqqvqnNsLbuowOnZWsgg+Wfm/2V+D/La0yuqh8xyOpDA0ApM69MLzWQ3vOqDYtvG xv0CLCUXoYJmNMqacioZ5/+j3mPhDolL8YmscG8oSv40BbexqdNNM6gHdQiTm6U1Cee/ W/hys9c/u3C6NMI0m/Wlm/+TjKZSoTPLc5v3VLSikKx1zhzEtkZDQT6UczNU7foH0K3h TW99dcqq78CKMEL11PubIHHok0GFw9I/+c9+B/kFk5a8rPhKrPXbDU2H8zHQW87i7B7M tdWQzLbXFjSD/48t1cAzDv6466rgANM+2Fv0jBFyX99kKOi4xCZ+FLO9+x/GCjUEGgTO Hp9w==
X-Gm-Message-State AG10YOTdHt13PC7+t80x7E560ENUZyP66VDWVrQBl0hSismaNTgYjqRDGdGtdDoX3O0l1xdjuiN+Zl4YzFxTmA==
X-Received by 10.50.66.179 with SMTP id g19mr25035228igt.94.1453821668042; Tue, 26 Jan 2016 07:21:08 -0800 (PST)
In-Reply-To <201601261011.19033.gheskett@wdtv.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:102123

Show key headers only | View raw


On Wed, Jan 27, 2016 at 2:11 AM, Gene Heskett <gheskett@wdtv.com> wrote:
> On Tuesday 26 January 2016 09:20:16 Wolfgang Maier wrote:
>
>> I have used 2.7 and 3.2 side-by-side for two years or so on Ubuntu
>> 12.04. Never encountered any problem except for a few times that I
>> accidentally tried to run something with python when I should have
>> used python3.
>
> I think thats unavoidable. ;-)
>
> I'm not sure what I'll need to go with it, but we'll find out today.
>
> Thanks Wolfgang

Here's what I'd recommend :)

$ sudo apt-get build-dep python3
$ sudo apt-get install mercurial
$ hg clone https://hg.python.org/cpython
$ cd cpython
$ ./configure
$ make
$ sudo make install

That should get you Python 3.6 with a whole lot of new features above
3.2. (And yes, 3.6 and 3.2 can happily coexist too.) After that,
you'll want to use pip exclusively for installing Python modules (you
can use apt-get to grab packages for your 3.2 install, but it won't do
anything for your 3.6), but other than that, you should have a
perfectly working system that runs the very latest in Pythons.

ChrisA

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


Thread

Re: python-2.7.3 vs python-3.2.3 Chris Angelico <rosuav@gmail.com> - 2016-01-27 02:21 +1100

csiph-web