教程集 www.jiaochengji.com
教程集 >  Python编程  >  Python入门  >  正文 python无法安装pil是什么原因

python无法安装pil是什么原因

发布时间:2021-02-09   编辑:jiaochengji.com
教程集为您提供python无法安装pil是什么原因等资源,欢迎您收藏本站,我们将为您提供最新的python无法安装pil是什么原因资源

python无法安装pil的原因:pil只支持python2版本。解决方法:可以安装替代包Pillow。首先打开命令提示符;然后执行【pip install Pillow】命令,等待安装完成即可。

python3无法正常安装PIL,因为PIL只支持python2各个版本,还没有python3的版本。

(推荐教程:Python入门教程)

首先我们进入PIL官网;

http://www.pythonware.com/products/pil/

6aab0adc6c72fb5bbba506c87de734f.png

可以看出pil只支持python2各个版本。

不过有一个可以替代PIL的包,并且可以在python3上正常安装。

安装方法:

1、打开命令提示符;

2、执行如下命令即可;

pip install Pillow

7068883174849515d840a6b9e00a81a.png

您可能感兴趣的文章:
python无法安装pil是什么原因
怎么在python安装pil
python怎么安装pil模块
Python中怎么像PS一样处理图像
python中无法引入pil怎么解决
python怎么截图
python的pil库如何安装
python怎样安装pil
python怎么安装模块
python项目如何运行

[关闭]
~ ~