[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

People choosing Python 3

On Sunday 10 September 2017 05:25:51 Leam Hall wrote:

> On 09/10/2017 04:19 AM, Chris Warrick wrote:
> > On 10 September 2017 at 09:30, Marko Rauhamaa <marko at pacujo.net> 
> >> INADA Naoki <songofacandy at gmail.com>:
> >>> I can't wait Python 3 is the default Python of Red Hat, and
> >>> "python" command means Python 3 on Debian and Ubuntu.
> >>
> >> I can't wait till Python 3 is available on Red Hat.
> >
> > Python 3.4 is available in EPEL. RHEL 8 will switch to Python 3 as
> > the main Python interpreter (assuming dnf replaces yum, as it did in
> > Fedora a while back).
> I'm not sure that RHEL 8 will be Python 3 for the OS tools. Even if it
> is, which version?
>  From a non-rpm perspective Python 3.6.2 compiles nicely on CentOS 6.
> Once compiled it seems easy to use pip3 to install stuff without
> trampling on the OS's Python 2 install.
> Just have to make sure your PATH is set right. By putting
> /usr/local/bin after /usr/bin I can use "py.test" to run tests under
> Python 2 and "pytest" for Python 3.
> Leam

But that is contrary to the usual practice, fixed so that stuff built and 
installed locally, with identical names to the distro's /usr/bin 
contents, is found first in /usr/local/bin and the newer version is 

That "usual practice" is going to be a very high hill to climb. I 
personally would never consider it as a solution to this p2 vs p3 

> p.s. Sorry Chris, meant to send this to the list. You get it twice.

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>