auf usb Kamera zugreifen und Bild schießen !!
- __blackjack__
- User
- Beiträge: 14027
- Registriert: Samstag 2. Juni 2018, 10:21
- Wohnort: 127.0.0.1
- Kontaktdaten:
@Kla-Sur: Erst mal schauen ob ein Python 3 nicht bereits installiert ist. ``python`` ist Python 2, ``python3`` ist Python 3. Die können deswegen problemlos beide installiert sein.
„A life is like a garden. Perfect moments can be had, but not preserved, except in memory. LLAP” — Leonard Nimoy's last tweet.
@Kla-Sur Ergänzend noch ein paar Hinweise. Wenn es sich um ein Raspbian oder neuerdings Raspberry Pi OS handelt dann ist Python 3 neben Python 2 schon vorinstalliert.
Noch etwas zur Installation von Modulen. Diese müssen für die jeweilige Python-Version installiert sein:
"pip install ..." (Python 2)
"pip3 install ..." (Python 3)
und evtl. noch zum Aufruf von Skripten:
"python /Pfad/zum/Sript.py" (mit Python 2)
"python3 /Pfad/zum/Sript.py" (mit Python 3)
Noch etwas zur Installation von Modulen. Diese müssen für die jeweilige Python-Version installiert sein:
"pip install ..." (Python 2)
"pip3 install ..." (Python 3)
und evtl. noch zum Aufruf von Skripten:
"python /Pfad/zum/Sript.py" (mit Python 2)
"python3 /Pfad/zum/Sript.py" (mit Python 3)
Alles was wir sind ist Sand im Wind Hoschi.