Home > Article > Backend Development > How to install pil module in python
PIL (Python Imaging Library) is a powerful image processing library in Python, but currently it only supports Python2.7
pillow is a branch of PIL. Although it is a branch, it also has a strong image processing library like PIL.
Python3.7.0 installation pillow
This installation method is completed in the windows7 environment:
1. Win r brings up the running window, type cmd to pop up the command window
2. Here you need to type the command to transfer to the folder where python is located, as shown in the picture, I installed python in the d drive
3. Type pip after D:\python> to install pip; in fact, pip is already built-in in python3 and above, no need to install it;
4. Then type pip install Pillow and it will prompt that the installation is successful (successful), that is, the installation is completed,
5. Let’s use python3.7.0 idle to test it. OK, no problem, so, We have successfully installed PIL.
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 module in python. For more information, please follow other related articles on the PHP Chinese website!