如何在Windows中安装具有JPEG支持的PIL软件包 [英] how to install PIL package with JPEG support in windows

查看:124
本文介绍了如何在Windows中安装具有JPEG支持的PIL软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Windows上安装PIL软件包,这很容易.但解码器jpeg不可用. 在PIL之前需要下载和安装哪些软件包才能正常工作?

I want to install PIL package on windows, its easy. but decoder jpeg not available. which packages are needed to download and installed befor PIL so it gets work?

推荐答案

我找到了解决方案.

在Windows中,必须使用 easy_install PIL 而不是 pip install PIP .
easy_install查找本地安装或从源代码安装libjpeg并将其连接到PIL,而pip无法做到这一点.

one has to use easy_install PIL instead of pip install PIP in Windows.
easy_install finds local installation or installs the libjpeg from the source and connects it to PIL while pip cannot do that.

这篇关于如何在Windows中安装具有JPEG支持的PIL软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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