howdy icon indicating copy to clipboard operation
howdy copied to clipboard

Fedora no module named 'dlib'

Open dooman17 opened this issue 4 years ago • 7 comments

Please describe the issue in as much detail as possible, including any errors and traces. If your issue is a camera issue, be sure to also post the image generated by running sudo howdy snapshot.

Attempting to run sudo howdy add or sudo howdy test gives an error for dlib. I am on a surface laptop 3 running the surface linux kernel

$ sudo howdy test
Traceback (most recent call last):
  File "/usr/bin/howdy", line 109, in <module>
    import cli.test
  File "/usr/lib64/security/howdy/cli/test.py", line 9, in <module>
    import dlib
ModuleNotFoundError: No module named 'dlib'
$ sudo howdy add
No module named 'dlib'

Can't import the dlib module, check the output of
pip3 show dlib

https://github.com/boltgolt/howdy/issues/124 says this was an issue at one point but it was fixed

Linux distribution: fedora

Howdy version 2.6.0

dooman17 avatar Oct 19 '20 03:10 dooman17

@dooman17 which fedora version?

principis avatar Oct 20 '20 11:10 principis

@dooman17 which fedora version?

32

dooman17 avatar Oct 20 '20 14:10 dooman17

@dooman17 which fedora version?

32

I think you're using luya's copr repo? You need to install dlib manually, or from a different copr repo. Or try mine over here.

principis avatar Oct 20 '20 15:10 principis

Hi @dooman17, I just managed to install it: sudo dnf install dlib python-dlib (works on fedora 33, you need to fiddle with PAM to get it working for sudo)

justitsi avatar Oct 28 '20 14:10 justitsi

Hi @dooman17, I just managed to install it: sudo dnf install dlib python-dlib (works on fedora 33, you need to fiddle with PAM to get it working for sudo)

i've got it working for sudo on fedora 33 but i can't get it to work when logging in. i get the "unknown error 1" problem. i've tried the other fixes mentioned such as changing no_confirmation to true, as well as changing the permissions of /lib64/security/howdy but still not working.

i'm new to fedora so i'm struggling to troubleshoot here. i can't even find /var/log/auth.log because it doesn't exist so i tried journalctl SYSLOG_FACILITY=10 but i can't identify anything obvious there. what should I be looking for?

JediBrooker avatar Oct 31 '20 15:10 JediBrooker

@JediBrooker Try disabling selinux, also the log file is in /var/log/secure

I've seen people mentioning that too much output breaks their login screen, see #381. I've fixed that in a different copr repo. You can find it over here. Remove the other repo and howdy before installing this version!

principis avatar Nov 06 '20 21:11 principis

@principis Thanks! works for me.

andrm avatar May 19 '21 10:05 andrm