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. Run command prompt as administrator Give the command

easy_install -m pip

This may not uninstall pip completely. So again give this command

pip uninstall pip 

If by previous command pip got uninstalled then this command wont run, else it will completely remove pip Now check by giving command

pip --version 

This should give pip is not recognized as an internal or external command