參考:http://jingyan.baidu.com/article/ff42efa929e6c8c19f220254.htmlhtml
用Python作圖像處理時,須要用到PIL(圖像處理庫)。可是PIL已中止更新,而Pillow是對PIL很友好的分支,所以本文介紹win8上如何安裝Pillow庫。python
1.在python的安裝路徑找到easy_install工具:C:\Python27\Scripts\easy_install-2.7.exeide
2.在上述目錄按shift鍵,右鍵點擊,打開cmd命令行,輸入安裝命令:easy_install-2.7.exe pip工具
3.安裝Pillow:pip install pillow命令行
提示:htm
You are using pip version 7.1.2, however version 8.1.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' comm
and.blog
使用python -m pip install --upgrade pip命令更新pip版本,出現下圖界面:ip
至此安裝成功。get