Pythoncard + Python 2.6 + OSX (was Re: codeEditor still not working on OSX with wxPython 2.8.9.1)

Neil Hughes <[email protected]> Tue, 31 Mar 2009 13:49:01 +0100
Newsgroups gmane.comp.python.pythoncard
Organization Support4Omega Ltd.
Message-ID <[email protected]>
On Tue, 24 Mar 2009 08:27:49 +0000 Neil Hughes
<[email protected]> wrote:

> On Thu, 19 Mar 2009 16:21:31 +0000 Neil Hughes
> <[email protected]> wrote:
> 
> > On Wed, 18 Mar 2009 14:49:54 -0700 Kevin Altis
> > <[email protected]> wrote:
> > >
> > > I haven't decided whether to give Python 2.6.x a try yet.
> > 
> > I've got an old G4 Mac mini still running Python 2.3.5 + wxPython
> > 2.5.x, which I can bring up to date. I'll try Python 2.6 on it in
> > the next few days if I get a chance.
> 
> ...or at least that was the plan. Having installed 2.6, it still runs
> 2.3.5 when I run "python". And yet, on my old G3 where I installed 2.5
> a while ago, the default when I run "python" is 2.5. So something's
> broken :-(

Hmmm....maybe I should have documented what I did last time. Anyway,
there's an "Update Shell Profile.command" script in the "Python 2.6"
folder that gets created by the 2.6 installer in "Applications". Run
that script and it modifies .bash_profile or .profile so that running
"python" from a terminal session starts 2.6 instead of the default
2.3.5 in Tiger.

So...the good news is that I can now run "python minimal.py" in the
Pythoncard "samples" folder and it works :-)

The bad news is that none of my Python scripts run by double-clicking
on them. The 2.6 version of "Python Launcher" briefly pops up and
disappears and....nothing :-(

-- 
Neil Hughes

------------------------------------------------------------------------------