[Pythonmac-SIG] MacPython 2.4.1 over Mac's 10.3.9's persistent Python 2.3

Bob Ippolito bob at redivi.com
Sun Jan 8 02:21:51 CET 2006


Given that, you must be placing /usr/local/bin after /usr/bin in your  
PATH.  That is not the correct thing to do for the behavior you want.

e.g. you currently have this:

export PATH=$PATH:/usr/local/bin

but you want this instead:

export PATH=/usr/local/bin:$PATH

-bob

On Jan 7, 2006, at 5:00 PM, David Pratt wrote:

> Hi Bob. I have this path is in my .cshrc where I am setting paths  
> for my
> home. This seemed to work fine for Jaguar but I guess not for Panther.
>
> [dp_mac450:~] davidpra% python2.4
> Python 2.4.1 (#2, Mar 31 2005, 00:05:10)
> [GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>>
> [dp_mac450:~] davidpra% 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.
>>>>
>
> So getting python2.4, just not the right version from python or  
> pythonw
> at command line as with macpython 2.3. I'll try setting path using the
> other method from the link you provided using the
> ~/.MacOSX/environment.plist method. Hopefully this will do the trick.
>
> Many thanks.
>
> Regards,
> David
>
> Bob Ippolito wrote:
>>
>> On Jan 7, 2006, at 4:13 PM, David Pratt wrote:
>>
>>> Hi there. I recently upgraded my machine's OS from 10.2.8  
>>> (jaguar) to
>>> 10.3.9 (panther). I removed my previous 2.3.5 python mac install by
>>> removing Python.framework and MacPython-2.3 from Applications. I  
>>> also
>>> removed python pythonw python2.3 and pythonw2.3 from /usr/local/ 
>>> bin. I
>>> installed  PantherPythonFix.dmg and then installed
>>> MacPython-OSX-2.4.1-1.dmg. Install went fine - no errors.
>>>
>>> However, when I open a terminal I and type python or pythonw at the
>>> prompt I still get the Apple build of python after restarting and
>>> opening terminal. Can someone point out what the problem could  
>>> be.  This
>>> is quite frustrating since I remember the Jaguar install being very
>>> smooth and effortless.
>>
>>
>> Add /usr/local/bin to your PATH environment variable.   
>> Installation  for
>> Jaguar was the same.
>>
>> http://tinyurl.com/cwjc8
>>
>> -bob
>>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig



More information about the Pythonmac-SIG mailing list