如何在Spyder(Anaconda 3)上安装PIL? [英] How to install PIL on Spyder(Anaconda 3)?

查看:364
本文介绍了如何在Spyder(Anaconda 3)上安装PIL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我继续使用conda install PIL进行安装时的问题 它给了我这个:

This is the problem when I go on to install using conda install PIL It gives me this:

UnsatisfiableError: The following specifications were found to be in conflict:
  - pil -> python 2.6*
  - python 3.6*

推荐答案

PIL似乎不再维护.只需安装枕头:

PIL seems not maintained any more. Just install pillow:

conda install pillow

,就像使用已安装PIL一样使用:

and use just as if you had PIL installed :

from PIL import Image

这篇关于如何在Spyder(Anaconda 3)上安装PIL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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