After several rounds, I finally figured out the zbar installation sequence. 1, first install zbar under the http://zbar.sourceforge.net/download.html, 2, python to install zbar needs to install https://pypi.python.org/pypi/zbar preparation, # yum install pdftk ImageMagick-devel ghostscript python-imaging python-devel it is strongly recommended that the configure error be reported during zbar installation because some components are not installed. /configure -- without-gtk -- without-qt and then make & make install to complete the first stage to install the zbar component for python2.6 directly python setup. py install # ldconfig/usr/local/lib update the path cache. If the python import zbar prompts ImportError: No module named zbar, the easiest way is to install the zbar component directly for python2.6 python setup. errors that may occur during py install installation: Python. h: The file or directory yum install python-devel does not exist. Error: zbar. h: without that file or directory first install zbar, http://zbar.sourceforge.net/download.html