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

From Gene Heskett <gheskett@wdtv.com>
Newsgroups comp.lang.python
Subject Re: python-2.7.3 vs python-3.2.3
Date 2016-01-26 13:05 -0500
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>

Show all headers | 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