auf usb Kamera zugreifen und Bild schießen !!
- __blackjack__
- User
- Beiträge: 13141
- 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.
“There will always be things we wish to say in our programs that in all known languages can only be said poorly.” — Alan J. Perlis
@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.