fedora 20 PIL
生活随笔
收集整理的這篇文章主要介紹了
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安裝包時,下載速度實在是慢的要時。
轉載于:https://www.cnblogs.com/Mingxx/p/3646393.html
《新程序員》:云原生和全面數字化實踐50位技術專家共同創作,文字、視頻、音頻交互閱讀總結
以上是生活随笔為你收集整理的fedora 20 PIL的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 利用freopen()函数和fc命令简化
- 下一篇: 【DS】排序算法之归并排序(Merge