失眠网,内容丰富有趣,生活中的好帮手!
失眠网 > python pip install pil_解决python的pip install PIL失败问题

python pip install pil_解决python的pip install PIL失败问题

时间:2021-04-23 08:46:19

相关推荐

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 , 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...

标签:

原文地址:/u/921876/blog/406374

如果觉得《python pip install pil_解决python的pip install PIL失败问题》对你有帮助,请点赞、收藏,并留下你的观点哦!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。