[Django] Notebook
[Django] Image lib for Ubuntu at Django
Dev2DHs
2017. 2. 8. 22:50
Image processing lib setting
(sp, ubuntu) need lib for image processing at ubuntu.
Pre-install
1) pip
$ sudo apt-get install libjpeg-dev $ sudo apt-get install zlib1g-dev |
If differnt name of 'libjpeg.so', 'libfreetype.so', 'libz.so' case, then each files last name plus number. (ls /usr/lib/x86_64-linux-gnu/)
then,
$ pip install Pillow
if get error for Pillow installing, then $ sudo apt-get install libjpeg-dev. $ pip install Pillow