To solve the problem of ioerror: decoder JPEG not available in pil under OSX It’s about 35814; it’s about static writing and final writing! >> ‫error install libjpeg # sudo pip install PIL