D
D
DanyGrishaev2016-03-12 23:46:46
ubuntu
DanyGrishaev, 2016-03-12 23:46:46

How to install Pillow in ubuntu? What supporting packages are required?

Do not drive to Google: I tried everything - it does not work. In Pillow, are auxiliary packages such as libjpeg already installed? What is the name of the package to be imported?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2016-03-13
@DanyGrishaev

First, what version of python are you installing pillow on?
These are the version mappings: Pillow < 2.0.0 supports Python versions 2.4, 2.5, 2.6, 2.7.
Pillow >= 2.0.0 supports Python versions 2.6, 2.7, 3.2, 3.3, 3.4, 3.5
Second, dependencies on which ubuntu system? : https://pillow.readthedocs.org/en/3.1.x/installati... - dependencies are listed here.
Yes, in general, that's all) you just need to be careful)
DanyGrishaev DanyGrishaev What is the name of the package that needs to be imported? ==>> I did not understand this question) sorry)

S
sim3x, 2016-03-12
@sim3x

askubuntu.com/a/156520

sudo apt-get install libjpeg8 libjpeg-dev \
     libfreetype6 libfreetype6-dev zlib1g-dev \
     libwebp-dev libwebp5

.....

(myvirtualenv) $ pip install pillow

 python -c "import PIL"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question