Newbie need help for upgrading python on snow leopard

Mojca Miklavec mojca at macports.org
Thu Feb 16 18:32:30 UTC 2017


Hi,

On 16 February 2017 at 01:10, Elim Qiu wrote:
> I don't even know if this list is about any system software upgrade... But I
> did get problem about upgrade python 2.6 to python 2.7.
>
> It seems easy just download a dmg file, apply it to get pythong 2.7. But
> after that I cannot get ipython to work. And I encountered a lot of
> path/config problem.
>
> If I asked the right group, please advise me what to do so that pythong 2.7
> and ipython can work properly.

This list is about installing a package manager and upgrading packages
from within the package manager. See:
    https://www.macports.org/install.php

Once you install MacPorts, you can install any version of python
(ideally 2.7 as well as 3.5 or 3.6, ...) as well as "any other open
source software". You just run
    sudo port install python27

without any headaches with dmg files and broken paths. You might want
to remove the python you install via the above mentioned dmg.

For ipython you should install
    sudo port install py27-ipython
and/or
    sudo port install py36-ipython

Mojca


More information about the macports-users mailing list