To make this the default Python or Python 2 (i.e., the version run by the
‚python‘ or ‚python2‘ commands), run one or both of:
sudo port select –set python python27
sudo port select –set python2 python27
##############################################################
# IF YOU ARE USING PYTHON FROM THE TERMINAL, PLEASE INSTALL:
# py27-readline
# TO AVOID A LIBEDIT / PYTHON INTERACTION ISSUE.
# REF: https://trac.macports.org/ticket/48807
##############################################################
