Centos 6.5 python2.6.6 zbar Installation

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.