java - Could not find or load main class com.google.zxing.client.j2se.CommandLineRunner -
i'm trying install python-zxing python wrapper zxing, library reading barcodes, , qr codes. have installed described in documentation, each time try run following error:
error: not find or load main class com.google.zxing.client.j2se.commandlinerunner
here code i'm trying run:
from zxing import * b = barcode reader = barcodereader("users/myusername/python/zxing-1.6") barcode = reader.decode("users/myusername/python/sample.png") print(barcode)
and result get:
error: not find or load main class com.google.zxing.client.j2se.commandlinerunner <zxing.barcode instance @ 0x10225f0e0>
does have idea i'm doing wrong? beginner i'm quite lost on oneā¦
i found solution problem myself. same problem, instructions included in git repository of projects. problem main zxing library not installed, , installation method had change use maven install parts of library.
Comments
Post a Comment