今天在WIN 7 64位用PIL的時候,提示 The _imaging C module is not installed ,原來是需要安裝64位的。
剛開始安裝的是這個:http://www.pythonware.com/products/pil/
但如果是64位,需要安裝這:
在python后輸入
import ImageFont
如果不出錯就OK了。。
在UBtunu下暫時還沒遇到問題。 在公司的電腦也沒遇到這問題。不過Google了發現很多人遇到這問題。記錄一下
ubtunu 安裝PIL : 可用如下
sudo apt-get install python-imaging