MMTK
Ryan Schmidt
ryandesign at macports.org
Sat Sep 24 13:27:09 PDT 2011
On Sep 24, 2011, at 15:14, Ryan Schmidt wrote:
> On Sep 24, 2011, at 11:49, Jin-Rui Xu wrote:
>
>> On Sat, Sep 24, 2011 at 10:57 AM, Ryan Schmidt wrote:
>>
>>> Are you sure that you're running MacPorts python 2.7, and not some other python?
>>
>> Yes, I am running 2.7. Here is the info
>>
>> 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.
>
> What command produced that output?
>
> It's hard for me to know whether that indicates you're using MacPorts Python 2.7, or possibly Apple Python 2.7, if that's the version of Python that's on Lion.
Actually it looks like MacPorts python27 was updated to 2.7.2 in June. So the above is a pretty good sign that you're using Apple python 2.7, not MacPorts python 2.7. Explicitly request MacPorts python 2.7 by running /opt/local/bin/python27. Or use "sudo port select python" and select MacPorts python 2.7, if you'd like the convenience of being able to run MacPorts python 2.7 by just typing "python".
More information about the macports-users
mailing list