Home > Article > Backend Development > How to install pil library in python
PIL: Python Imaging Library is already the de facto image processing standard library for the Python platform.
Since PIL only supports Python 2.7 and is in disrepair, a group of volunteers created a compatible version based on PIL, named Pillow, which supports the latest Python 3.x and has added many New feature, therefore, we can install and use Pillow directly.
Pip3 has been prepared when installing Python. You can directly use pip3 to install PIL
Command line: pip3 install pillow
Note:
1. The name of the PIL installation package is pillow
2. When using the pip3 command, it must be executed in the path where pip3.exe is located. Generally, pip3.exe is in the Script folder under the python installation directory.
For more Python related technical articles, please visit the Python Tutorial column to learn!
The above is the detailed content of How to install pil library in python. For more information, please follow other related articles on the PHP Chinese website!