PIL不会pip安装。 pip install PIL不起作用。枕头不会导入。 [英] PIL will not pip install. pip install PIL doesn't work. Pillow will not import.

查看:89
本文介绍了PIL不会pip安装。 pip install PIL不起作用。枕头不会导入。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在网上阅读一些示例代码,我无法将PIL安装到pip install。

I am reading some example code on the internet and I cannot get PIL to pip install.

推荐答案

不再支持PIL,而是调用PIL的分支枕头仍然存在。



如果PIL不会pip安装,请尝试pip安装Pillow。但是,您必须将Pillow Module导入为PIL。



屁股倒退,但Pillow在导入为PIL时用作PIL。
PIL is no longer being supported but a fork of PIL called Pillow still exists.

If PIL will not pip install, try pip installing Pillow. However, you will have to import the Pillow Module as PIL.

Ass backwards, but Pillow functions as PIL when imported as PIL.


这篇关于PIL不会pip安装。 pip install PIL不起作用。枕头不会导入。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆