# apt-get install libjpeg-dev
# apt-get install libfreetype6-dev
# apt-get install zlib1g-dev
# apt-get install libpng12-dev
// x86_64 needed
# ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib
# ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib
# ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib
# pip install PIL -I
Reference :
Python Image Library fails with message \"decoder JPEG not available PIL\" - Stack Overflow
Install PIL with Jpeg support on Ubuntu Oneiric 64bit | Jj's blog
沒有留言:
張貼留言