在Ubuntu 14.04上安装枕头时出错 [英] Error installing Pillow on ubuntu 14.04
本文介绍了在Ubuntu 14.04上安装枕头时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用以下命令在Ubuntu 14.04上安装Pillow:
I'm trying to install Pillow on Ubuntu 14.04 using this command:
pip install Pillow
但安装失败并出现以下错误:
but the installation fails with this error:
ValueError: --enable-jpeg requested but jpeg not found, aborting.
推荐答案
问题是未安装软件包libjpeg-dev
.要解决该问题,您应该执行以下操作:
The problem was that the package libjpeg-dev
was not installed. To solve the problem you should do this:
sudo apt-get install libjpeg-dev
这篇关于在Ubuntu 14.04上安装枕头时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文