我正尝试在RPI3上使用zbar,但我遇到了一个问题。我没有ImageScanner图像..。模块。
import zbar
scanner = zbar.ImageScanner()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'ImageScanner'我试着从pip,官方仓库,一些分支来安装它,但是都不起作用。
https://pastebin.com/ajbWdSct如何访问镜像模块?
发布于 2017-12-18 22:02:47
要列出模块内容,请尝试键入:
import zbar
dir(zbar)请参阅源代码https://github.com/npinchot/zbar/blob/master/examples/read_one.py中的示例
https://stackoverflow.com/questions/47870037
复制相似问题