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