If you let the command finish, you should have seen the following or
something equivalent below.  Running the find command I sent you
works, however you will see some noise (Permission Denied message).
These are common messages because your general user account is trying
to access restricted parts of the filesystem.  This is normal
behavior.

Here are some example files on my Mac system.

/usr/bin/python
/usr/bin/python2.3
/usr/bin/pythonw
/usr/bin/pythonw2.3
/usr/lib/python2.3

I'm assuming you are running a stock version of OS X and you have NOT
installed Python manually.  The typical Python path on my version OS X
(11.4) is /usr/bin/python. /usr/bin/python is a link to the actual
Python binary installed at /usr/bin/python2.3

For example...

>which python
/usr/bin/python

>ls -l /usr/bin/python
lrwxr-xr-x   1 root  wheel  9 Jan 17  2006 /usr/bin/python -> python2.3


Does this help?



On 5/14/07, linda. s <[EMAIL PROTECTED]> wrote:
> On 5/14/07, Tom Tucker <[EMAIL PROTECTED]> wrote:
> > I would use the traditional Unix find command to find the various
> > versions installed.
> >
> > find / -name "python*"
> >
> >
> >
> > On 5/14/07, linda.s <[EMAIL PROTECTED]> wrote:
> > > how to check how many versions of Python i have in my mac machine?
> > > also, how to put the path to the version I desire?
> > > Thanks a lot!
>
> That is what I got:
> find: /.Spotlight-V100: Permission denied
> find: /.Trashes: Permission denied
>
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to