About why Python failed to install the PIL library

Source: Internet
Author: User
Tags image processing library

PIL Introduction Pil:python Imaging Library, is already the Python platform de facto image processing standard libraries. The PIL feature is very powerful, but the API is very easy to use.

Recently in the writing of some Python crawler need to use PIL this image processing library, but found that the use of PIP can not be installed, with the previous Deepin escalation error, error is as follows:

The general meaning is not in line with the current environment of the PIL version, from the Internet to check the relevant tutorial materials, found that can be installed pillow to replace.

Pip Install Pillow

Online to find a data that is because the official website only provides 32-bit system installation ... (I'll go to the 32-bit machine to verify)

But later, when I searched for PiL, I found that PiL seemed to support Python 2.7, but I always used the 3.x

Speculation may be the reason for the Python version, and later it also found the relevant information.

PIL only supports Python 2.7, a group of volunteers created a compatible version on PiL, called Pillow, supported the latest Python 3.x, and added many new features, So in the python3.x environment, we can use pillow instead of PIL.

About why Python failed to install the PIL library

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.