On 6-jun-2005, at 20:59, Jon Schull wrote:
> Please forgive the cross-post. I think this is a cross group issue.
>
> I've newly installed Tiger and would like to avoid the dueling
> pythons problem that plagued me with 0SX 10.3. It would be nice to
> be running just one python, but I suppose that would be asking too
> much?
>
> I installed Bob's MacPython 2.4.1 from http://undefined.org/python/
> Double clicking the apps works fine. But when I type "python" from
> terminal I get python Apple's python 2.3.5. I'm sure this is
> obvious to many, but I'm also sure I'm not the only person who
> starts getting uneasy at this point. So before I go too deep, I
> thought I'd ask....
You should add /usr/local/bin to the start of the search path of
you're shell. If you're using bash (the default on Panther and Tiger)
you can add these lines to .profile or .bash_profile in your home
directory:
export PATH
PATH="/usr/local/bin:${PATH}"
export MANPATH
MANPATH="/usr/local/man:${MANPATH}"
This way the python in /usr/local/bin is seen before the system one.
Ronald
_______________________________________________
Pythonmac-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig