install PIL on ubuntu python

2017-05-22  本文已影响9人  angerskon

I have successfully installed PIL using these commands:

sudo apt-get build-dep python-imagingsudo 
apt-get install libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-devsudo 
pip install Pillow

After these commands I could:

>>> import PIL
>>> PIL.VERSION'1.1.7'
上一篇 下一篇

猜你喜欢

热点阅读