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

前端 未结 5 1261
予麋鹿
予麋鹿 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:27

    Even though my PIL was up to date, I resolved this on Ubuntu 12.04 with:

    pip uninstall PIL
    pip install PIL
    

提交回复
热议问题