[import pyzbar.pyzbar as pyzbar] raises ImportError('Unable to find zbar shared library')

648 views
Skip to first unread message

SUDHAN DC

unread,
Jul 12, 2019, 7:09:35 AM7/12/19
to Django users
Hello guys,

I am very new in the Django and python and I am trying to write a barcode-reader code.

my requirements.txt file is as follows

Django>=2.2,<3.0
psycopg2>=2.7,<3.0
Pillow>=6.1.0
pyzbar==0.1.8
numpy==1.16.4
django-sslserver==0.20

 but when I try to import the prybar it raises an error.
I have also installed zbar using
  -brew install zbar

but this could not solve my error
please help me.
Reply all
Reply to author
Forward
0 new messages