How to install the pil library in python3.7.2

步履不停
Release: 2019-07-29 09:46:26
Original
7092 people have browsed it

How to install the pil library in python3.7.2

Introduction

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 How to install pillow

This installation method is completed in the windows7 environment:

>>> ;Win r brings up the running window, type cmd to pop up the command window

How to install the pil library in python3.7.2

##>>>Here you need to type the command to transfer to the folder where python is located, as shown in the figure , I installed python in the d drive

How to install the pil library in python3.7.2##>>> Type pip after D:\python> to install pip; in fact, in python3 or above pip is already built-in, no need to install it;

How to install the pil library in python3.7.2>>> Then type pip install Pillow and it will prompt that the installation is successful (successful), that is, the installation is complete. I have already installed it here. No more demonstrations.

##>>> Let’s test it using python3.7.0 idle. It’s ok. Then, we will successfully install PIL. Now you can do small projects related to image processing.How to install the pil library in python3.7.2

import PIL
Copy after login

How to install the pil library in python3.7.2Recommended related tutorials:
Python video tutorial

The above is the detailed content of How to install the pil library in python3.7.2. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!