1. 程式人生 > >ImportError: The _imagingft C module is not installed

ImportError: The _imagingft C module is not installed

下載 .py pil www. .com gin 編譯 uci 網上

Python的圖形庫(PIL),

不過在官方下載了支持Python2.7的PIL Windows安裝包後,運行過程中發現會報_imagingft C module is not installed錯誤。

解決方法:

1.在python27 的目錄下執行 pip install pillow

2.到http://www.lfd.uci.edu/~gohlke/pythonlibs/#pil上面去下載針對Windows重新編譯的PIL版本(參考網上別人提供的)

友情鏈接:

Pillow的docs:

http://pillow.readthedocs.io/en/latest/installation.html

PIL官網:(我windows下面下載2.7的exe安裝 出現上面的問題 )

http://www.pythonware.com/products/pil/

ImportError: The _imagingft C module is not installed