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

问题描述 投票:0回答:1

我是这种编码的新手,我所做的只是复制此指令: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'

btw。我正在使用运行Python 3.7.3的Raspberry Pi 3和使用的指纹扫描仪是U.are.U 4500 Digital Persona]

python module python-3.7 fingerprint
1个回答
0
投票

[我认为您错过了共享教程中安装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
© www.soinside.com 2019 - 2024. All rights reserved.