Also zumindest wenn du über MacPorts installiert hast, dann geht das ganz einfach mit python_select
Ansonsten kannst du auch einfach den symlink umlegen.Code:fyysh@perseus: ~ fyysh@perseus: ~/TMP/test $> python_select -h usage: python_select [-n] [-d] [-r] [-h] [-v] version -n Show commands to do selection but do not execute them. -d Show debug messages during execution -h Display this help info. -v Display version of python_select. -l List available options for version. -s Show the currently selected version
which python müsste dir einen symlink zeigen, der wiederum bei dir auf python2.6 zeigt. Den änderst du einfach auf python2.7, fertig.
Bei mir sieht das so aus:
Code:fyysh@perseus: ~ $> ls -l $(which python) lrwxr-xr-x 1 root admin 18 16 Jul 2010 /opt/local/bin/python@ -> /usr/bin/python2.7
Ergebnis 1 bis 2 von 2
- 10.03.2011, 23:17 #1
Python 2.6 --> Python 2.7
Hallo,
ich habe auf meinem iMac Python 2.6 und 2.7 installiert, allerdings wird mir mit "which python" angezeigt, dass er wohl nur Python 2.6 nutzt. Ich würde das gerne umstellen, allerdings weiß ich nicht, wie das geht.>> Liebe Grüße - Max
- 11.03.2011, 07:14 #2The cause of the problem is:
Don't worry; it's been deprecated.
The new one is worse.


Zitieren
