boltgolt / howdy

🛡️ Windows Hello™ style facial authentication for Linux
MIT License
5.75k stars 299 forks source link

when logging in on the lock screen or tty terminal interface : nknown error occurred #893

Open smartfrogdd opened 7 months ago

smartfrogdd commented 7 months ago

howdy version:Howdy 3.0.0 BETA Linux distribution:debian 12.4 bookworm de: gnome 43.9 dm:gdm

After entering the graphical interface, Howdy works fine, but when I lock the screen or log out and log back in, the camera flashes briefly and then shows an error.

I tried logging in using the tty interface and encountered the same error, along with an error code.

 login:
 Traceback (most recent call last):
    File "/lib/security/howdy/compare.py",line 262, in <module>
        hist_total = np.sum(hist)
 AttributeError: module 'numpy' has no attribute 'sum'
 Password:
 nknown error:

I have confirmed that the numpy module is installed, and executing "python3 /lib/security/howdy/compare.py" did not result in any errors.


I've searched for similar issues already, and my issue has not been reported yet.

Linux distribution (if applicable):

Howdy version (sudo howdy version):

smartfrogdd commented 7 months ago

I seem to have found the reason. Reinstalling the numpy module is solved.

sudo apt reinstall python3-numpy