当我输入:
port select --list python
这是结果:Available versions for python:
none
python25 (active)
python25-apple
python26-apple
python27
python27-apple
我原以为使用 Python 时会使用版本 2.5
,但是当我输入“python”时,似乎激活的是版本 2.7。如何将其更改为版本 2.5?Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>