Newbie need help for upgrading python on snow leopard

Elim Qiu elim.qiu at gmail.com
Fri Feb 17 01:56:32 UTC 2017


I installed macpots to both my iMac and my black macbook(both with snow
leopard). And use it to install python27, py27-ipython.

It turns out the black macbook worked but my iMac didn't work. I still can
only bring up python 2.6 after successfully installed python27. Even I cd
to /opt/local/bin and call python, it still brought python 2.6 for me. What
I have to do?

On Thu, Feb 16, 2017 at 3:38 PM, Elim Qiu <elim.qiu at gmail.com> wrote:

> Thanks a lot Mojca! It works great!
>
> Guess I can do something similar to upgrade java and install geogebra 5 on
> snow leopard?
>
> On Thu, Feb 16, 2017 at 11:32 AM, Mojca Miklavec <mojca at macports.org>
> wrote:
>
>> 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20170216/35032c16/attachment.html>


More information about the macports-users mailing list