“IOError: decoder zip not available” : Ubuntu Python PIL

前端 未结 5 1262
予麋鹿
予麋鹿 2020-12-17 19:09

I am trying to get the sample heatmap.py running from: http://jjguy.com/heatmap/

#image.py
import heatmap
import random

if __name__ == \"__main__\":    
            


        
5条回答
  •  情书的邮戳
    2020-12-17 19:36

    even you test with

    from PIL import image

    is okay, but there is still error on save/decode methods.

    you can try my steps: (base on my case, openerp 7 with ubuntu 13.10)

    1. remove python image
    2. locate your libz
    3. reinstall PIL

    check it http://febru.soluvas.com/2014/03/solved-openerp-7-ioerror-decoder-zip.html

提交回复
热议问题