motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
3.98k stars 652 forks source link

raspberry pi with system default python3 #2104

Closed questrov closed 3 years ago

questrov commented 3 years ago

Installed circuit python https://learn.adafruit.com/circuitpython-on-raspberrypi-linux/installing-circuitpython-on-raspberry-pi which changes system default to python3, which breaks motioneye.

Bummer since servokit https://learn.adafruit.com/adafruit-16-channel-servo-driver-with-raspberry-pi/using-the-adafruit-library drives a pwm board nicely with incremental servo control similar to servoblaster which does not seem to work on a Pi4 (works great on zero) along with all the other Adafruit gizmo's.

Does the motioneye python3 fork work on Pi4 yet or is there another workaround? If so are there any details how to get there from here?

Tried pip2 on a fresh OS install with circuit python but didn't do something right as the motion service would not start, gave same same error as when I first switched to system default python3...

starbasessd commented 3 years ago

Please install motion/motioneye from the github motioneye wiki for either Ubuntu 20.04 or RaspberryPiOS. That will install the correct pip2. You will have to do python2 and pip2 commands for motion/motioneye or set default to python2 and call circuit python with python3 commands.

questrov commented 3 years ago

Sorted thank you very much!