Running under Mac OS X 10.14.4
pip 19.0.3
Python 3.6.4
ran pip install zbar
errored out as below.
I included pop version, the pip install output, and the $Path.
Tell me what I can do to help track down errors. I'm just a Mac guy, use Python, but go back all the way to the 1970's and I'm coachable.
Steve
sholland$ pip -V
pip 19.0.3 from /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip (python 3.6)
HHC:~ sholland$ pip install zbar
Collecting zbar
Using cached https://files.pythonhosted.org/packages/33/54/cc5819efc9ee7e34b60b41e1d2d4753b6dd0c26a41c9a552611f66aa106e/zbar-0.10.tar.bz2
Installing collected packages: zbar
Running setup.py install for zbar ... error
Complete output from command /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 -u -c "import setuptools, tokenize;file='/private/var/folders/md/l_18lc5j581_l76sv_3600g40000gt/T/pip-install-goa7ur7k/zbar/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/md/l_18lc5j581_l76sv_3600g40000gt/T/pip-record-5i3xhyuq/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_ext
building 'zbar' extension
creating build
creating build/temp.macosx-10.6-intel-3.6
/usr/bin/clang -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c zbarmodule.c -o build/temp.macosx-10.6-intel-3.6/zbarmodule.o
In file included from zbarmodule.c:24:
./zbarmodule.h:26:10: fatal error: 'zbar.h' file not found
#include <zbar.h>
^~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit status 1
----------------------------------------
Command "/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 -u -c "import setuptools, tokenize;file='/private/var/folders/md/l_18lc5j581_l76sv_3600g40000gt/T/pip-install-goa7ur7k/zbar/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/md/l_18lc5j581_l76sv_3600g40000gt/T/pip-record-5i3xhyuq/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/md/l_18lc5j581_l76sv_3600g40000gt/T/pip-install-goa7ur7k/zbar/
HHC:~ sholland$ echo $PATH
/Library/Frameworks/Python.framework/Versions/3.6/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Frameworks/Python.framework/Versions/Current/bin
HHC:~ sholland$