People choosing Python 3

Leam Hall leamhall at gmail.com
Sun Sep 10 05:25:51 EDT 2017


On 09/10/2017 04:19 AM, Chris Warrick wrote:
> On 10 September 2017 at 09:30, Marko Rauhamaa <marko at pacujo.net> wrote:
>> 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

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



More information about the Python-list mailing list