imutils error

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
rcrail
Posts: 9
Joined: Fri Jan 10, 2020 10:46 pm

imutils error

Post 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.
rcrail
Posts: 9
Joined: Fri Jan 10, 2020 10:46 pm

Re: imutils error

Post by rcrail »

Update:

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