Python: Unterschied zwischen den Versionen
Aus Wikizone
(Die Seite wurde neu angelegt: „ == Python auf dem Mac == Ist standardmäßig installiert. Aufruf von Programmen mit python programmname Im entsprechenden Verzeichnis im Terminal Python Ko…“) |
|||
| Zeile 14: | Zeile 14: | ||
Zusätzlich gibt es noch Python Launcher für verschiedene Python Versionen -> noch nicht getestet. | 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. | ||
Version vom 28. Januar 2021, 17:18 Uhr
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.