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

2024-09-27 00:21:42 发布

您现在位置:Python中文网/ 问答频道 /正文

我不熟悉这种编码,我所做的只是复制以下指令: 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'

顺便说一句,我使用的是Raspberry Pi3,运行的是Python3.7.3 指纹扫描仪使用的是U.are.U.4500数字人物角色


Tags: https编码linux指令pidedebiansensor
1条回答
网友
1楼 · 发布于 2024-09-27 00:21:42

我想您错过了在您共享的教程中安装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

相关问题 更多 >

    热门问题