Python Imaging Library (PIL) 

 

1. 下載for python 2.7的PIL

http://pythonware.com/products/pil

 

2.安裝執行檔會自動帶出python路徑

3.執行安裝命令

在搜尋程式及檔案輸入"cmd.exe"

 

在命令不管是使用 pip install Pillow或 easy_install Pillow都出現錯誤訊息

['easy_install' 不是內部或外部命令、可執行的程式或批次檔。]

即使在環境變數設python的安裝路徑也是出現錯誤 path=D:\Python27\Scripts

最後是直接在命令下CD D:\Python27\Scripts

D:\Python27\Scripts>  easy_install Pillow就開始安裝

安裝完成後,不管在哪邊下命令easy_install都可正常執行.

arrow
arrow
    全站熱搜

    門外漢 發表在 痞客邦 留言(0) 人氣()