[Tutor] Wish to upgrade Python 3.6.5 to Python 3.6.6 for Linux Mint 19

boB Stepp robertvstepp at gmail.com
Sun Jul 15 00:52:04 EDT 2018


On Sat, Jul 14, 2018 at 8:43 PM boB Stepp <robertvstepp at gmail.com> wrote:
>
> On Sat, Jul 14, 2018 at 8:23 PM Mats Wichmann <mats at wichmann.us> wrote:
> >
> > take a look at pyenv. should make it fairly easy.
> >
> > https://github.com/pyenv/pyenv
>
> This does look interesting.  On the linked page, after installing and
> configuring pyenv, it says to install Python as follows giving a 2.7.8
> example:
>
> $ pyenv install 2.7.8
>
> Where and how does it get its Python installation?

After a lot of searching, I'm still not sure how pyenv is working its
magic.  On https://github.com/pyenv/pyenv/wiki it says:

"pyenv will try its best to download and compile the wanted Python version, ..."

This suggests that it is getting the source from somewhere
(python.org/downloads ?) and then compiling it locally.  Is this what
it actually does?

boB


-- 
boB


More information about the Tutor mailing list