“ ModuleNotFoundError:没有名为“ pyfingerprint”的模块”

时间:2019-11-06 08:00:31

标签: python module python-3.7 fingerprint

我是这种编码的新手,我所做的只是复制以下指令: https://sicherheitskritisch.de/2015/03/fingerprint-sensor-fuer-den-raspberry-pi-und-debian-linux-en/

到达测试部分时出现此错误:

from  pyfingerprint.pyfingerprint import PyFingerprint
ModuleNotFoundError: No module named 'pyfingerprint'

顺便说一句。我正在使用运行Python 3.7.3的Raspberry Pi 3 使用的指纹扫描仪是U.are.U 4500 Digital Persona

1 个答案:

答案 0 :(得分:1)

我认为您错过了共享教程中安装python-fingerprint软件包的部分。尝试安装它。

$ echo "deb http://apt.pm-codeworks.de wheezy main" | sudo tee -a /etc/apt/sources.list
$ wget -O - http://apt.pm-codeworks.de/pm-codeworks.de.gpg | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install python-fingerprint