[Tutor] Install/upgrade question

Kent Johnson kent37 at tds.net
Fri Feb 6 04:36:07 CET 2009


On Thu, Feb 5, 2009 at 9:29 PM,  <cclpianos at comcast.net> wrote:
> Hi Kent,
> Thanks for your very quick reply. I'll be as succinct as possible.
> On Feb 5, 2009, at 10:48 AM, Kent Johnson wrote:

> Last login: Thu Feb  5 18:55:15 on console
> Welcome to Darwin!
> p-ws-computer:~ pw$ python
> Python 2.3.5 (#1, Nov 26 2007, 09:16:55)
> [GCC 4.0.1 (Apple Computer, Inc. build 5363) (+4864187)] on darwin

> Using IDLE I get a different version listing:
> Python 2.6.1 (r261:67515, Dec  6 2008, 16:42:21)
> [GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin

OK, so IDLE is using the 2.6.1 you installed but the command line
still sees 2.3.

> Further I DL'ed the .tar which decompressed to a .dmg file. The 2.61 folder
> is currently on my Desktop, where I process most of my downloads.
>
> Do you mean the installed Python in on your desktop, or the .dmg file,
> or what? It should not install to the desktop.
>
> This is what happened. I have 2.61 on the desktop. Before I move it I wanted
> to be sure of several other things:
> 1. You already answered that Q, "don't remove the older version 2.35."
> 2. Is there a hack to get my 2.61 off the desktop and into the System? I
> still have the .tar file.

I'm still confused by this. The download from Python.org is a dmg
file, not a tar file. The standard installers don't install to the
desktop, and they put the new Python into your path. Where did you get
your installer? Maybe you should just install the version from
Python.org.

What is the console output of these commands?
echo $PATH
which python
which python2.6
python2.6

Kent


More information about the Tutor mailing list