갈루아의 반서재

우분투 Pillow 설치 에러

Error for pip install Pillow on Ubuntu virtualenv


아래와 같이 pip install Pillow 실행시 발생하는 에러에 대한 조치방법



1. 우분투 버전 확인


1
2
(envalpha)root@localhost:~# cat /etc/issue
Ubuntu 14.04.2 LTS \n \l
cs



2. Pillow 설치가이드에서 해당 OS 버전에 맞는 내용을 확인해보자.

설치가이드 http://pillow.readthedocs.org/en/3.0.x/installation.html


Pillow 설치 전에 선행되어야 할 내용들이 있다.

Prerequisites are installed on Ubuntu 14.04 LTS with:

$ sudo apt-get install libtiff5-dev libjpeg8-dev zlib1g-dev \
    libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk

위의 명령을 실행한 후 Pillow 를 설치하면 된다.


$ pip install Pillow