0 votos

Python 2.6 y 2.7 en Mac OS X

En mi /usr/bin , el siguiente es el resultado de ls -al python* :

-rwxr-xr-x  1 root  wheel  66480 Dec  3 01:36 python
-rwxr-xr-x  5 root  wheel    925 Aug 22  2015 python-config
lrwxr-xr-x  1 root  wheel     75 Oct 17 21:26 python2.6 -> ../../System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
lrwxr-xr-x  1 root  wheel     82 Oct 17 21:26 python2.6-config -> ../../System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6-config
lrwxr-xr-x  1 root  wheel     75 Oct 17 21:26 python2.7 -> ../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
lrwxr-xr-x  1 root  wheel     82 Oct 17 21:26 python2.7-config -> ../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config
-rwxr-xr-x  1 root  wheel  66480 Dec  3 01:35 pythonw
lrwxr-xr-x  1 root  wheel     76 Oct 17 21:26 pythonw2.6 -> ../../System/Library/Frameworks/Python.framework/Versions/2.6/bin/pythonw2.6
lrwxr-xr-x  1 root  wheel     76 Oct 17 21:26 pythonw2.7 -> ../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/pythonw2.7

Hay tres: python , python2.6 , python2.7 . ¿Qué son y por qué tengo tres? ¿Puedo eliminar alguno de ellos?

Bueno, tengo otro Python de la instalación de anaconda, que uso principalmente.

1voto

Michael Zhou Puntos 167

Python es un enlace duro con pythonw. El resto son enlaces simbólicos a sus respectivas versiones dentro del marco de Python. No, no debes eliminarlos. No es raro que un sistema operativo tenga varias versiones de Python.

AppleAyuda.com

AppleAyuda es una comunidad de usuarios de los productos de Apple en la que puedes resolver tus problemas y dudas.
Puedes consultar las preguntas de otros usuarios, hacer tus propias preguntas o resolver las de los demás.

Powered by:

X