Seite 1 von 1

Re: auf usb Kamera zugreifen und Bild schießen !!

Verfasst: Donnerstag 13. August 2020, 07:44
von __blackjack__
@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.

Re: auf usb Kamera zugreifen und Bild schießen !!

Verfasst: Donnerstag 13. August 2020, 12:15
von hyle
@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)

Re: auf usb Kamera zugreifen und Bild schießen !!

Verfasst: Donnerstag 13. August 2020, 12:54
von kaytec
Hallo Kla-Su,

oder --> sudo apt install python3

Gru? Frank