<div dir="ltr">I installed macpots to both my iMac and my black macbook(both with snow leopard). And use it to install python27, py27-ipython.<div><br><div>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?</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 16, 2017 at 3:38 PM, Elim Qiu <span dir="ltr"><<a href="mailto:elim.qiu@gmail.com" target="_blank">elim.qiu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks a lot Mojca! It works great!<div><br></div><div>Guess I can do something similar to upgrade java and install geogebra 5 on snow leopard?</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 16, 2017 at 11:32 AM, Mojca Miklavec <span dir="ltr"><<a href="mailto:mojca@macports.org" target="_blank">mojca@macports.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span><br>
On 16 February 2017 at 01:10, Elim Qiu wrote:<br>
> I don't even know if this list is about any system software upgrade... But I<br>
> did get problem about upgrade python 2.6 to python 2.7.<br>
><br>
> It seems easy just download a dmg file, apply it to get pythong 2.7. But<br>
> after that I cannot get ipython to work. And I encountered a lot of<br>
> path/config problem.<br>
><br>
> If I asked the right group, please advise me what to do so that pythong 2.7<br>
> and ipython can work properly.<br>
<br>
</span>This list is about installing a package manager and upgrading packages<br>
from within the package manager. See:<br>
    <a href="https://www.macports.org/install.php" rel="noreferrer" target="_blank">https://www.macports.org/insta<wbr>ll.php</a><br>
<br>
Once you install MacPorts, you can install any version of python<br>
(ideally 2.7 as well as 3.5 or 3.6, ...) as well as "any other open<br>
source software". You just run<br>
    sudo port install python27<br>
<br>
without any headaches with dmg files and broken paths. You might want<br>
to remove the python you install via the above mentioned dmg.<br>
<br>
For ipython you should install<br>
    sudo port install py27-ipython<br>
and/or<br>
    sudo port install py36-ipython<br>
<span class="m_-2815913977461551128HOEnZb"><font color="#888888"><br>
Mojca<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>