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


Groups > comp.lang.python > #102134 > unrolled thread

Re: python-2.7.3 vs python-3.2.3

Started byGene Heskett <gheskett@wdtv.com>
First post2016-01-26 13:05 -0500
Last post2016-01-26 13:05 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#102134 — Re: python-2.7.3 vs python-3.2.3

FromGene Heskett <gheskett@wdtv.com>
Date2016-01-26 13:05 -0500
SubjectRe: python-2.7.3 vs python-3.2.3
Message-ID<mailman.21.1453831558.2338.python-list@python.org>
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>

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web