apt-get install libjpeg-dev

apt-get install libfreetype6-dev

pip install pillow