[Pythonmac-SIG] Which Python for Panther?

Ronald Oussoren ronaldoussoren at mac.com
Wed Aug 18 08:12:15 CEST 2004


On 17-aug-04, at 23:09, Bob Ippolito wrote:

>
> On Aug 17, 2004, at 4:49 PM, Craig Sutherland wrote:
>
>>
>> On Aug 15, 2004, at 2:35 PM, John Miller wrote:
>>> Craig Sutherland <suthercd at mac.com> wrote:
>>>>> If I do build 2.3.4, can I use the Panther add-ons as provided?  
>>>>> Are
>>>>> they even necessary if I build from source?
>>>> Tom,
>>>>
>>>> With the latest XCode release and Developer Tools, Python 2.3.4 (#1 
>>>> Jun 2, 2004) is the framework install provided as default.
>> >snip<
>>> I'm probably misunderstanding here, but I've installed the latest 
>>> XCode and Developer Tools, but in terminal I get the following:
>>>
>>> moire:~ jmillr$ python
>>> Python 2.3 (#1, Sep 13 2003, 00:49:11)
>>> [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
>>> Type "help", "copyright", "credits" or "license" for more 
>>> information.
>>> >>>
>>>
>>> I don't think python 2.3.4 is installed, it's still 2.3.0.
>>>
>>> John Miller
>> John-
>>
>> Which Xcode? Xcode IDE 389 1.5 is available from Apple's site.
>>
>> Info for my machine-
>>
>> Python 2.3.4 (#1, Jun  2 2004, 22:41:18)
>> [GCC 3.3 20030304 (Apple Computer, Inc. build 1640)] on darwin
>
> Can you print out sys.executable and sys.prefix?  I don't believe you 
> :)  I think that you got this Python from darwinports, Fink, or 
> compiled yourself.

He is correct:

$ python
Python 2.3 (#1, Sep 13 2003, 00:49:11)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> import sys
 >>> sys.executable
'/usr/bin/python'
 >>> sys.prefix
'/System/Library/Frameworks/Python.framework/Versions/2.3'
 >>> sys.version
'2.3 (#1, Sep 13 2003, 00:49:11) \n[GCC 3.3 20030304 (Apple Computer, 
Inc. build 1495)]'
 >>> sys.version_info
(2, 3, 0, 'final', 0)
 >>>

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.3.5
BuildVersion:   7M34


Xcode 1.5
   Component versions
   Xcode IDE: 389.0
   Xcode Core: 387.0
   ToolSupport: 372.0

Ronald
--
X|support bv            http://www.xsupport.nl/
T:  +31 610271479       F:  +31 204416173



More information about the Pythonmac-SIG mailing list