I think the /usr/bin/python executable you’re seeing is the Apple-supplied one.

Here’s what I have in /usr/bin, which is all from Apple:

$ ls -l /usr/bin/pyth*
-rwxr-xr-x  1 root  wheel  66576 Apr 29 02:29 /usr/bin/python
-rwxr-xr-x  5 root  wheel    925 Jul 31  2016 /usr/bin/python-config
lrwxr-xr-x  1 root  wheel     75 Jun 22 13:26 /usr/bin/python2.6 -> 
../../System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
lrwxr-xr-x  1 root  wheel     82 Jun 22 13:26 /usr/bin/python2.6-config -> 
../../System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6-config
lrwxr-xr-x  1 root  wheel     75 Jun 22 13:26 /usr/bin/python2.7 -> 
../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
lrwxr-xr-x  1 root  wheel     82 Jun 22 13:26 /usr/bin/python2.7-config -> 
../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config
-rwxr-xr-x  1 root  wheel  66576 Apr 29 02:30 /usr/bin/pythonw
lrwxr-xr-x  1 root  wheel     76 Jun 22 13:26 /usr/bin/pythonw2.6 -> 
../../System/Library/Frameworks/Python.framework/Versions/2.6/bin/pythonw2.6
lrwxr-xr-x  1 root  wheel     76 Jun 22 13:26 /usr/bin/pythonw2.7 -> 
../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/pythonw2.7
$

Homebrew puts everything in /usr/local/bin, and I think so does the official 
Python Mac installer (it did when I was still responsible for it:-).


> On 18 Jul 2017, at 21:37, Pito Salas <pitosa...@brandeis.edu> wrote:
> 
> I’m new to Python. I seem to have three partially installed Pythons on my Mac 
> Sierra.
> 
> One from Apple
> One from Homebrew
> And one from the Python Mac installer
> 
> In particular, for example, I have a python executable in /usr/bin:
> 
> $ which python
> /usr/bin/python
> 
> This is an actual executable not a symkink. There are a whole bunch of python 
> related files in that directory:
> 
> python           python-config    python2.6        python2.6-config python2.7 
>        python2.7-config pythonw          pythonw2.6       pythonw2.7
> 
> 
> I think they all came from the python.org python installer.
> 
> I would like to fully uninstall the Python (and related files) that I got 
> from the Mac Python Installer from the python web site. I can’t find up to 
> date instructions. 
> 
> Does anyone know how to do this? Thanks!
> 
> Pito Salas
> 
> 
> 
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
> https://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG

--
Jack Jansen, <jack.jan...@cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma Goldman



_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
https://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to