I am running a python program on AWS EC2 AMI instance and getting the following error:
from pyzbar import pyzbar
File "/tmp/readiness/lib/python3.7/site-packages/pyzbar/pyzbar.py", line 7, in
from .wrapper import (
File "/tmp/readiness/lib/python3.7/site-packages/pyzbar/wrapper.py", line 143, in
c_uint_p, # minor
File "/tmp/readiness/lib/python3.7/site-packages/pyzbar/wrapper.py", line 136, in zbar_function
return prototype((fname, load_libzbar()))
File "/tmp/readiness/lib/python3.7/site-packages/pyzbar/wrapper.py", line 115, in load_libzbar
libzbar, dependencies = zbar_library.load()
File "/tmp/readiness/lib/python3.7/site-packages/pyzbar/zbar_library.py", line 65, in load
raise ImportError('Unable to find zbar shared library')
ImportError: Unable to find zbar shared library
I have tried installing zbar using, but nothing works:
I am running a python program on AWS EC2 AMI instance and getting the following error:
I have tried installing zbar using, but nothing works: