tldr/pages.de/common/pip-install.md

25 lines
560 B
Markdown
Raw Permalink Normal View History

# pip install
> Installiere Python-Pakete.
> Weitere Informationen: <https://pip.pypa.io>.
- Installiere ein Paket:
`pip install {{paketname}}`
- Installiere eine spezifische Paketversion:
`pip install {{paketname}}=={{paketversion}}`
- Installiere die Pakete aus einer Datei:
`pip install -r {{requirements.txt}}`
- Installiere die Pakete von einer URL oder einem lokalen Archiv (.tar.gz | .whl):
`pip install -f {{url|pfad/zur/datei}}`
- Installiere das lokale Paket im aktuellen Verzeichnis im Entwicklungs-/Bearbeitungsmodus:
`pip install -e .`