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


Groups > comp.lang.python > #102134

Re: python-2.7.3 vs python-3.2.3

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Gene Heskett <gheskett@wdtv.com>
Newsgroups comp.lang.python
Subject Re: python-2.7.3 vs python-3.2.3
Date Tue, 26 Jan 2016 13:05:52 -0500
Lines 47
Message-ID <mailman.21.1453831558.2338.python-list@python.org> (permalink)
References <201601260726.55545.gheskett@wdtv.com> <201601261011.19033.gheskett@wdtv.com> <CAPTjJmrVyYNLo7KXjUS1=807=HYK=pwZp2rX07bJr6fb4h8h9Q@mail.gmail.com>
Mime-Version 1.0
Content-Type Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de VXjq5f9q+pHG7HtPsXDcHgDDQc5/eyKh3HIfi2eyqEBA==
Return-Path <gheskett@wdtv.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; 'important,': 0.07; 'thats': 0.07; '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; 'chris,': 0.16; 'clone': 0.16; 'happily': 0.16; 'python3.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'soap,': 0.16; 'subject:2.7.3': 0.16; 'sudo': 0.16; 'wrote:': 0.16; ';-)': 0.18; 'runs': 0.18; '3.2': 0.22; 'install,': 0.22; 'cheers,': 0.22; 'am,': 0.23; '(you': 0.23; 'tried': 0.24; 'header:In-Reply-To:1': 0.24; 'script': 0.25; 'install': 0.25; 'header:User-Agent:1': 0.26; 'chris': 0.26; 'turns': 0.27; 'fine': 0.28; '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; 'advice': 0.35; 'installing': 0.35; 'something': 0.35; 'but': 0.36; 'should': 0.36; 'url:org': 0.36; '(and': 0.36; 'event.': 0.36; 'modules': 0.36; 'url:non-standard http port': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'thanks': 0.37; 'january': 0.38; "won't": 0.38; 'received:66': 0.38; 'anything': 0.38; 'sure': 0.39; 'subject:-': 0.39; 'to:addr:python.org': 0.40; 'your': 0.60; "you'll": 0.61; 'header :Message-Id:1': 0.61; 'times': 0.63; 'latest': 0.64; 'grab': 0.64; 'today.': 0.67; 'received:204': 0.75; './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
X-Spam-Status No, score=1.1 required=5.0
X-Spam-Level +
User-Agent KMail/1.9.10 (enterprise35 0.20100827.1168748)
In-Reply-To <CAPTjJmrVyYNLo7KXjUS1=807=HYK=pwZp2rX07bJr6fb4h8h9Q@mail.gmail.com>
X-KMail-QuotePrefix >
Content-Disposition inline
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:102134

Show key headers only | View raw


On Tuesday 26 January 2016 10:21:07 Chris Angelico wrote:

> 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

Message marked as important, should I need to. It turns out the script 
actually works fine on 2.7.3.

Thanks for the advice Chris, it will be helpfull in that event.

> 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


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

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


Thread

Re: python-2.7.3 vs python-3.2.3 Gene Heskett <gheskett@wdtv.com> - 2016-01-26 13:05 -0500

csiph-web