Page 1 of 1

imutils error

Posted: Sat Oct 12, 2024 1:41 am
by rcrail
Running ZoneMinder 1.36 on Ubuntu 24.04. No problems with install and console shows no errors and events recorded as expected. Followed docs to install eventnotification and during ./install.sh received error that python3 could not install imutils. Followed alternative and installed imutlis with pipx which seemed to be successful. Upon testing (sudo -u www-data /var/lib/zmeventnotification/bin/zm_event_start.sh <eid> <mid> - I used actual event number and corresponding monitor) the following Traceback arose:

Traceback (most recent call last):
File "/var/lib/zmeventnotification/bin/zm_detect.py", line 15, in <module>
import imutils
ModuleNotFoundError: No module named 'imutils'

So while pipx installed imutils in a virtual environment it wasn't detected by zm.

I would appreciate suggestions to properly install the imutils module.

Re: imutils error

Posted: Sat Oct 12, 2024 2:33 pm
by rcrail
Update:

Probably not the best solution but managed to get everything working with:
sudo -H pip3 install pyzm --break-system-packages