fedora 20 PIL

今天安装PIL花了我好多的时间。python

刚开始,我手动下载PIL原码,编译安装。django

启动个人django项目,报下面的错误,彻底不懂是么意思。测试

CommandError: One or more models did not validate:
user.userprofile: "photo": To use ImageFields, you need to install the Python Imaging Library. Get it at http://www.pythonware.com/products/pil/ .

手动测试了一下:ui

The _imaging extension was built for another  version of Pillow or PIL

这中问题,难道是我手动编译的引发的,好巴,我错了。使用PiP吧spa

但是。这这code

Could not find any downloads that satisfy the requirement PIL

 

好吧,我又错了。用yum吧blog

装好之后,启动个人项目,此次成功了。rem

虐心阿。最经用PYTHON老不顺心,PIP安装包时,下载速度实在是慢的要时。it

相关文章
相关标签/搜索