Skip to content
Diese Seite ist in Ihrer Sprache noch nicht verfügbar. Englische Version wird angezeigt.

Installation

Wie Sie Potato auf Ihrem System installieren.

Installation

Potato kann in Sekundenschnelle über pip installiert werden. Diese Anleitung beschreibt verschiedene Installationsmethoden und Anforderungen.

Anforderungen

  • Python: 3.8 oder höher
  • Betriebssystem: macOS, Linux oder Windows
  • Arbeitsspeicher: mindestens 512 MB RAM

Installation über pip

Die empfohlene Installationsmethode für Potato:

bash
pip install potato-annotation

Installation aus dem Quellcode

Für die neueste Entwicklungsversion:

bash
git clone https://github.com/davidjurgens/potato.git
cd potato
pip install -e .

Bestimmte Version installieren

Um eine bestimmte Version zu installieren:

bash
pip install potato-annotation==2.0.0

Installation überprüfen

Überprüfen Sie, ob Potato korrekt installiert wurde:

bash
potato --version

Sie sollten eine Ausgabe wie die folgende sehen:

text
Potato Annotation Tool v2.0.0

Aktualisierung

Um auf die neueste Version zu aktualisieren:

bash
pip install --upgrade potato-annotation

Optionale Abhängigkeiten

Für zusätzliche Funktionen können optionale Abhängigkeiten installiert werden:

bash
# For MySQL support
pip install potato-annotation[mysql]
 
# For active learning
pip install potato-annotation[ml]
 
# For all optional features
pip install potato-annotation[all]

Fehlerbehebung

Berechtigungsfehler

Bei Berechtigungsfehlern versuchen Sie:

bash
pip install --user potato-annotation

Virtuelle Umgebung (empfohlen)

Wir empfehlen die Verwendung einer virtuellen Umgebung:

bash
python -m venv potato-env
source potato-env/bin/activate  # On Windows: potato-env\Scripts\activate
pip install potato-annotation

Nächste Schritte