I try to run this code
import pyqrcode
from qrtools import qrtools
from PIL import Image
import zbar
qr = pyqrcode.create("She got two litle horns and they get me a litle bit")
qr.png("horn.png", scale=6)
qr = qrtools.QR()
scanner = zbar.Scanner()
qr.decode("horn.png")
print(qr.data)
And it says to me
AttributeError: module 'zbar' has no attribute 'ImageScanner'
Im running the latest ubuntu x64 and have all dependencies installed mayby is because im trying on python3