Error installing Pillow on ubuntu 14.04

后端 未结 5 1431
栀梦
栀梦 2021-02-01 12:51

I\'m trying to install Pillow on Ubuntu 14.04 using this command:

pip install Pillow

but the installation fails with this error:



        
5条回答
  •  花落未央
    2021-02-01 13:33

    You have to install the missing dependencies and libraries that Pillow requires for it to work. Find the dependencies here

    This are the current dependancies/libraries for Ubuntu 14.04 for Pilllow 3.0.0+. Install them by running the command below

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

提交回复
热议问题