I update my system far ago and howdy stop working. There is no module cv2. I investigate that my system update opencv lib to version 3.
I known, that I install howdy from no default repo, but maybe there is a way to solve my problem?
I search in PIP, but it complains the environment is management externally. I use zypper search cv2, but without result.
Is there any way to configure howdy without code compilation?
maj 25 12:55:19 opensuse [23486]: Attempting facial authentication for user slawomir
maj 25 12:55:19 opensuse kwin_wayland_wrapper[23563]: Traceback (most recent call last):
maj 25 12:55:19 opensuse kwin_wayland_wrapper[23563]: File "/usr/lib64/security/howdy/compare.py", line 18, in <module>
maj 25 12:55:19 opensuse kwin_wayland_wrapper[23563]: import cv2
maj 25 12:55:19 opensuse kwin_wayland_wrapper[23563]: ModuleNotFoundError: No module named 'cv2'
maj 25 12:55:19 opensuse [23486]: Failure, unknown error1
I see I can create venv. So create environment in /opt/howdy as root, install packages and mess up with pam to load howdy in virtual environment?
I do:
sudo python3.13 -m venv /opt/howdy
sudo /opt/howdy/bin/pip install cv2
ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none)
[notice] A new release of pip is available: 25.0.1 -> 25.1.1
[notice] To update, run: python3.13 -m pip install --upgrade pip
ERROR: No matching distribution found for cv2
slawomir@opensuse:~> sudo /opt/howdy/bin/pip install --upgrade pip
Requirement already satisfied: pip in /opt/howdy/lib64/python3.13/site-packages (25.0.1)
Collecting pip
Downloading pip-25.1.1-py3-none-any.whl.metadata (3.6 kB)
Downloading pip-25.1.1-py3-none-any.whl (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 2.7 MB/s eta 0:00:00
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 25.0.1
Uninstalling pip-25.0.1:
Successfully uninstalled pip-25.0.1
Successfully installed pip-25.1.1
slawomir@opensuse:~> sudo /opt/howdy/bin/pip install cv2
ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none)
ERROR: No matching distribution found for cv2
Module cv was installed, but I am doubt if it is for opencv.