Newbie need help for upgrading python on snow leopard
mojca at macports.org
Fri Feb 17 06:11:32 UTC 2017
On 17 February 2017 at 02:56, Elim Qiu wrote:
> 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?
You should either call "python2.7" or run
sudo port select --set python python27
if you want the "python" command to always execute pyhon 2.7 from
MacPorts. (I don't know how ipython works.)
More information about the macports-users