SDB Talk:Facial authentication
Hello, I have the following issue:
flucas@xps15:~> sudo zypper in howdy [sudo] password for root: Retrieving repository 'Fonts' metadata .....................................................................................................................[done] Building repository 'Fonts' cache ..........................................................................................................................[done] Loading repository data... Reading installed packages... Resolving package dependencies...
Problem: nothing provides 'python3-opencv3' needed by the to be installed howdy-2.6.1-lp153.15.1.x86_64
Solution 1: do not install howdy-2.6.1-lp153.15.1.x86_64 Solution 2: break howdy-2.6.1-lp153.15.1.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c/d/?] (c):
Where can I find this python3-opencv3 pagacke? Apparently is not issued with openSuSE 15.3 repositories...
Thanks beforehand, Francisco.
Probably I have fixed this issue. Please try again.
PYTHONHOME issues?
I am trying to set this up on openSUSE 15.4 (with the SDB repo from 15.3). All works well except the actual PAM authentication, with a Python environment error.
systemctl status display-manager.service shows:
2022-10-09T12:17:47.929698+02:00 pegasus sddm[1108]: Session "/usr/share/xsessions/plasma5.desktop" selected, command: "/usr/bin/startplasma-x11" 2022-10-09T12:17:47.938889+02:00 pegasus sddm-helper[2082]: [PAM] Starting... 2022-10-09T12:17:47.938938+02:00 pegasus sddm-helper[2082]: [PAM] Authenticating... 2022-10-09T12:17:47.939178+02:00 pegasus display-manager[2082]: Could not find platform independent libraries <prefix> 2022-10-09T12:17:47.939209+02:00 pegasus display-manager[2082]: Could not find platform dependent libraries <exec_prefix> 2022-10-09T12:17:47.939233+02:00 pegasus display-manager[2082]: Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] 2022-10-09T12:17:47.939482+02:00 pegasus display-manager[2082]: ImportError: No module named site 2022-10-09T12:17:47.940690+02:00 pegasus sddm[1108]: Auth: sddm-helper exited with 1
I have tried adding the correct environment to the sddm.service and display-manager.service unit files with
[Service] Environment=PYTHONHOME=/usr ...
(seeing that python3-config states that prefix and exec_prefix are /usr)
But this does not change anything. I'm running out of ideas on where and how to fix that particular python error. And maybe if a fix is necessary here, could this be added to the page?