Python 2.6 in Eclipse
Verfasst: Samstag 22. Mai 2010, 14:41
Hallo
,
habe bei mir unter Mac OS X 10.4 Python 2.6 installiert. Es funktioniert soweit auch im Terminal: "which python" gibt Python 2.6 aus und wird auch gestartet nach "python".
Python 2.6 ist bei mir in Library/Frameworks/Python.framework installiert.
Habe auch noch die von Mac OS X standardmäßig installierte Version 2.3 drauf.
Sie liegt unter System/Library/Frameworks/Python.framework
Laut docs.python.org auch völlig normal. Hier ein Auszug der Seite:
The Apple-provided build of Python is installed in /System/Library/Frameworks/Python.framework and /usr/bin/python, respectively. You should never modify or delete these, as they are Apple-controlled and are used by Apple- or third-party software. Remember that if you choose to install a newer Python version from python.org, you will have two different but functional Python installations on your computer, so it will be important that your paths and usages are consistent with what you want to do.
Das Problem was ich habe, ist, dass Eclipse als Interpreter nur die Version 2.3 erkennt und annimmt.
Wenn ich unter Python Interpreters in Pydev den Auto Config Button drücke schlägt er mir nur die 2.3 Version vor mit allen Unterpfaden.

Auch wenn ich manuell mit New den Interpreter Python 2.6 aus Library/Frameworks/Python.framework auswähle, dann macht er eine Fehlermeldung.

Wie bekomme ich die Python Version 2.6 in Eclipse unter Mac OS X?

habe bei mir unter Mac OS X 10.4 Python 2.6 installiert. Es funktioniert soweit auch im Terminal: "which python" gibt Python 2.6 aus und wird auch gestartet nach "python".
Python 2.6 ist bei mir in Library/Frameworks/Python.framework installiert.
Habe auch noch die von Mac OS X standardmäßig installierte Version 2.3 drauf.
Sie liegt unter System/Library/Frameworks/Python.framework
Laut docs.python.org auch völlig normal. Hier ein Auszug der Seite:
The Apple-provided build of Python is installed in /System/Library/Frameworks/Python.framework and /usr/bin/python, respectively. You should never modify or delete these, as they are Apple-controlled and are used by Apple- or third-party software. Remember that if you choose to install a newer Python version from python.org, you will have two different but functional Python installations on your computer, so it will be important that your paths and usages are consistent with what you want to do.
Das Problem was ich habe, ist, dass Eclipse als Interpreter nur die Version 2.3 erkennt und annimmt.
Wenn ich unter Python Interpreters in Pydev den Auto Config Button drücke schlägt er mir nur die 2.3 Version vor mit allen Unterpfaden.

Auch wenn ich manuell mit New den Interpreter Python 2.6 aus Library/Frameworks/Python.framework auswähle, dann macht er eine Fehlermeldung.

Wie bekomme ich die Python Version 2.6 in Eclipse unter Mac OS X?