Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
libzbar-dev is already the newest version (0.23.92-4build2).
libzbar0 is already the newest version (0.23.92-4build2).
zbar-tools is already the newest version (0.23.92-4build2).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Traceback (most recent call last):
File "main.py", line 5, in <module>
from moving_barcode import process_gif
File "/app/moving_barcode.py", line 2, in <module>
from pyzbar.pyzbar import decode
File "/opt/venv/lib/python3.8/site-packages/pyzbar/pyzbar.py", line 7, in <module>
from .wrapper import (
File "/opt/venv/lib/python3.8/site-packages/pyzbar/wrapper.py", line 151, in <module>
zbar_version = zbar_function(
File "/opt/venv/lib/python3.8/site-packages/pyzbar/wrapper.py", line 148, in zbar_function
return prototype((fname, load_libzbar()))
File "/opt/venv/lib/python3.8/site-packages/pyzbar/wrapper.py", line 127, in load_libzbar
libzbar, dependencies = zbar_library.load()
File "/opt/venv/lib/python3.8/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