Python

Aus Wikizone
Wechseln zu: Navigation, Suche

Python auf dem Mac

Ist standardmäßig installiert.

Aufruf von Programmen mit

python programmname

Im entsprechenden Verzeichnis im Terminal

Python Konsole bekommt man vom Terminal mit aufruf des Programms.

idle.app

Zusätzlich gibt es noch Python Launcher für verschiedene Python Versionen -> noch nicht getestet.

PIP

Beliebter Paketmanager für Python. Sollte eigentlich mit

sudo easy_install pip

Installierbar sein. Gibt bei mir Versions Probleme.

Deinstallieren:


There is no completely automatic uninstall but you can do it in two steps:

easy_install -m pip

This should remove pip from easy-install.pth and print the full path to where pip is installed. Now just manually remove the path that the previous command printed. Or you could just manually edit easy-install.pth and remove the pip sources if you know where they are located.