【发布时间】:2018-09-18 20:54:50
【问题描述】:
public void fingerprint() {
System.setProperty("python.cachedir.skip", "true");
PythonInterpreter pi = new PythonInterpreter();
pi.execfile("/usr/share/doc/python-fingerprint/examples/example_search.py");
}
文件“/home/pi/pyfingerprint/src/debian/python-fingerprint/usr/share/doc/python-fingerprint/examples/example_search.py”,第 12 行,在 从 pyfingerprint.pyfingerprint 导入 PyFingerprint ImportError: 没有名为 pyfingerprint 的模块
我在 Java 中使用 Python 指纹传感器,但出现了错误。 我不知道该怎么做......;帮帮我。
【问题讨论】:
-
试试
pip install pyfingerprint -
找不到满足 pyfingerprint 要求的版本(来自版本:)没有为 pyfingerprint 找到匹配的发行版我收到此错误。
标签: java python jython raspberry-pi3 fingerprint