2017-12-18 105 views
0

我想在RPI3上使用zbar,但我遇到了問題。我沒有ImageScanner,Image ...模塊。Zbar覆盆子?

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 

我該如何訪問圖像模塊?

+0

你ahve正確的圖書館嗎?有時他們有不同的名字比你想象的 –

回答