1👍
✅
Error was: ‘encoder jpeg not available’.
I’ve fixed it by this:
sudo apt-get build-dep python-imaging
pip uninstall Pillow
pip install Pillow
Source:stackexchange.com