OS X install confusion
7stud
bbxx789_05ss at yahoo.com
Thu Jun 14 20:42:59 EDT 2007
On Jun 14, 11:21 am, johnmfis... at comcast.net (John Fisher) wrote:
> Hi Groupies,
>
> I have an Intel Macbook running OS X 10.4.
>
> It came installed with Python 2.3.5. I have since installed MacPython
> with version 2.4.4, cool.
>
> When I open a bash terminal session and type python, it brings up
> version 2.3.5. If I type IDLE it brings up version 2.4.4.
>
> My question: what do I have to do to get it to bring up 2.4.4 with the
> "python" command?
>
> Thanks for bringing light to my ignorance.
>
> JF
Strange. I installed macpython 2.4.4 on an imac this year, and when I
type python on the command line of a bash shell, python 2.4.4 starts
up:
$ python
Python 2.4.4 (#1, Oct 18 2006, 10:34:39)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
I looked in:
/System/Library/Frameworks/Python.framework/Versions/Current/bin/
and inside that directory are the programs:
idle
pydoc
python
python2.3
So I tried typing python2.3 on the command line, and lo and behold
python 2.3.5 started up:
$ python2.3
Python 2.3.5 (#1, Jul 25 2006, 00:38:48)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
So it looks like the macpython install changed the name of the pre-
installed python program from python to python2.3. What do you see in
that directory?
More information about the Python-list
mailing list