python pip install pil_解决python的pip install PIL失败问题
標簽:
安裝PIL的時候遇到個問題,
pip install PIL
Downloading/unpacking PIL
Could not find any downloads that satisfy the requirement PIL
Some externally hosted files were ignored (use --allow-external PIL to allow).
Cleaning up...
No distributions at all found for PIL
Storing debug log for failure in pip.log
環境:
OS:Win7-64bit
Python:2.7.9
解決辦法:
pip install PIL --allow-external PIL --allow-unverified PIL
效果:
--------------------------------------------------------------------
PIL 1.1.7 SETUP SUMMARY
--------------------------------------------------------------------
version 1.1.7
platform win32 2.7.9 (default, Dec 10 2014, 12:24:55)
[MSC v.1500 32 bit (Intel)]
--------------------------------------------------------------------
*** TKINTER support not available (Tcl/Tk 8.5 libraries needed)
*** JPEG support not available
*** ZLIB (PNG/ZIP) support not available
*** FREETYPE2 support not available
*** LITTLECMS support not available
--------------------------------------------------------------------
To add a missing option, make sure you have the required
library, and set the corresponding ROOT variable in the
setup.py script.
To check the build, run the selftest.py script.
Successfully installed PIL
Cleaning up...
標簽:
原文地址:http://my.oschina.net/u/921876/blog/406374
總結
以上是生活随笔為你收集整理的python pip install pil_解决python的pip install PIL失败问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: mysql 导出数据字典_操作MySQL
- 下一篇: 百度seo排名规则_百度关键词seo优化