Home  >  Article  >  Backend Development  >  How to install pil library in python

How to install pil library in python

尚
Original
2019-07-02 18:09:2441688browse

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

How to install pil library in python

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.

How to install pil library in python

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn