I am keeping off Python 2.6 currently on my Mac as some of the 2.6
support is not there in all the modules I need.

I have it on my dev machine at work under XP but spend most of my time
in 2.5.2 Stackless Python.

OS X maintains its own Python. If you have Python 2.3 you must be
running Panther? (OS X 10.3.x series). And any python.org python you
install will not remove it and instead install in a different
directory.

As you have found out if you type /usr/local/bin/python executes the
new version. Now all you have to do is add it early to your PATH so it
executes first whenever you just type python.

from /usr/bin/env my PATH in its entirety is thus:

PATH=/Library/Frameworks/Python.framework/Versions/Current/bin:/Library/Frameworks/Python.framework/Versions/Current/bin:/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin

As you can see there has been some repetition :-) so much for the
Python installer keeping it clean =P

Of course that is after installing Python 2.5.2 from python.org and
thats how it executes when i simply type python in my bash shell on OS
X Leopard (OS X 10.5.x series)

It has been so long since I have run Panther that I can't for the life
of me remember much about configuring it, but Panther and python path
issues have cropped up way back in 2004 or so :-)

Leopard ships from Apple with Python 2.5.1

2008/11/18 tiloprobst <[EMAIL PROTECTED]>:
>
> I understand what links do, but I honestly have no clue how to make
> one. I have no idea where even to link to.
> In /usr/bin/ there is only 2.3 stuff:
> python -> python2.3
> python2.3 -> ../../System/Library/Frameworks/Python.framework/Versions/
> 2.3/bin/python
>
> In usr/local/bin seem to be 2.6 files:
> python -> ../../../Library/Frameworks/Python.framework/Versions/2.6/
> bin/python
>
> The 2.6 Mac installer linked on the Python page claimed to remove all
> previous versions.
>
> Could I get around the yet unknown to me link setup using Python
> Launcher in Applications/Python 2.6?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to