[solution] won't start
I can’t figure it out, some kind of startup error
maxim@SVAROG ~ $ python3 -V Python 3.10.12 maxim@SVAROG ~ $ sudo systemctl status motioneye [sudo] пароль для maxim: × motioneye.service - motionEye Server Loaded: loaded (/etc/systemd/system/motioneye.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2024-07-20 20:02:50 MSK; 28min ago Main PID: 18799 (code=exited, status=1/FAILURE) CPU: 118ms
SVAROG meyectl[18799]: from motioneye import meyectl, motionctl, settings, tasks, uploadservices, utils
SVAROG meyectl[18799]: File "/usr/local/lib/python3.10/dist-packages/motioneye/motionctl.py", line 26, in
same here
Solved this problem
sudo apt install motion
sudo apt-get install python3-tornado python3-jinja2 python3-pillow python3-pycurl python3-babel python3-numpy python3-boto3
sudo pip install motioneye.eo
sudo motioneye_init
Which version of motionEye did you use? motioneye.eo is a different project, deprecated to my knowledge, as it has been merged here.
Which version of motionEye did you use?
motioneye.eois a different project, deprecated to my knowledge, as it has been merged here.
0.43.1b1 0.43.1b2 These versions didn't work for me. Only works motioneve.eo
It is a mismatch between some Python module versions, the tornado package in particular. class HTTPHeaders(collections.MutableMapping) is wrong in Python 3.10, should be class HTTPHeaders(collections.abc.MutableMapping) instead. I guess it was a bug in the package, and apt install python3-tornado fixed it.
Generally, you can use pip to install latest compatible version of all Python modules:
pip3 install -U tornado
It is a mismatch between some Python module versions, the
tornadopackage in particular.class HTTPHeaders(collections.MutableMapping)is wrong in Python 3.10, should beclass HTTPHeaders(collections.abc.MutableMapping)instead. I guess it was a bug in the package, andapt install python3-tornadofixed it.Generally, you can use
pipto install latest compatible version of all Python modules:pip3 install -U tornado
This!