Use
osx$ port select --list python
to list your available Python installations.
Then use the “–set” option to “port select” to set the port you wish to use.
osx$ sudo port select --set python python27
More Related Contents:
- What does from __future__ import absolute_import actually do?
- python 2.7 script to add a column
- Python 2: Conditional statement behaviour of lists with greater/smaller [duplicate]
- Zip lists in Python
- Reading an Excel file in python using pandas
- Insert an element at a specific index in a list and return the updated list
- Backporting Python 3 open(encoding=”utf-8″) to Python 2
- Python: avoid new line with print command [duplicate]
- How to update the image of a Tkinter Label widget?
- 2D list has weird behavor when trying to modify a single value [duplicate]
- python filter list of dictionaries based on key value
- Accessing attributes on literals work on all types, but not `int`; why? [duplicate]
- Python dynamic function creation with custom names
- gcc-4.2 failed with exit status 1
- What does an ‘r’ represent before a string in python? [duplicate]
- Sort a list to form the largest possible number
- Get unicode code point of a character using Python
- Change default Python version from 2.4 to 2.6
- Distributed lock manager for Python
- Python 3 urllib produces TypeError: POST data should be bytes or an iterable of bytes. It cannot be of type str
- How can I copy a Python string?
- Connection Timeout with Elasticsearch
- How to locate and insert a value in a text box (input) using Python Selenium?
- Multiple keys per value
- BeautifulSoup getText from between , not picking up subsequent paragraphs
- What is absolute import in python?
- Pycharm environment different than command line
- Cannot find the file specified when using subprocess.call(‘dir’, shell=True) in Python
- Merge xml files with nested elements without external libraries
- subprocess.Popen in different console