fedora 20 PIL

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

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

启动我的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/ .

手动测试了一下:

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

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

可是。这这

Could not find any downloads that satisfy the requirement PIL

 

好吧,我又错了。用yum吧

装好以后,启动我的项目,这次成功了。

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



posted @ 2014-04-04 23:22  Mingxx  阅读(1023)  评论(0编辑  收藏  举报