安装pillow
来源:互联网 发布:.games域名 编辑:程序博客网 时间:2024/05/16 02:07
今天在使用django中的ImageField时出现错误:
(fields.E210) Cannot use ImageField because Pillow is not installed.HINT: Get Pillow at https://pypi.python.org/pypi/Pillow or run command "pip install Pillow".
pillow介绍
Python Imaging Library (Fork)
Pillow is the friendly PIL fork by Alex Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and Contributors.
于是在网站https://pypi.python.org/pypi/Pillow上下载Pillow-3.1.2.tar.gz (md5)
执行命令
tar -zxvf Pillow-3.1.2.tar.gzcd Pillow-3.1.2python setup.py install
之后报错
ValueError: jpeg is required unless explicitly disabled using --disable-jpeg, aborting
安装依赖库
yum install python-develyum install zlib-develyum install libjpeg-turbo-devel
之后成功!
0 0
- 安装pillow
- pillow安装
- Mac下安装Pillow
- mac 安装pillow模块
- Pillow依赖库安装
- Ubuntu下安装Pillow
- python安装Pillow
- python Pillow 模块安装
- centos安装Pillow
- python 安装Pillow
- Mac下安装pillow
- python安装Pillow库
- mac 安装Pillow
- Python 安装 Pillow
- Mac安装pillow模块
- python 安装Pillow
- window 安装pillow失败
- PIL、Pillow安装使用方法
- 1101. Quick Sort (25)【快排】——PAT (Advanced Level) Practise
- 错误集棉
- Dijkstra最短路
- nodejs后台文件上传模块connect-multiparty
- 个人头像上传
- 安装pillow
- Java 获取当前时间
- 2.反向传导算法
- 1102. Invert a Binary Tree (25)【二叉树】——PAT (Advanced Level) Practise
- Qt学习笔记:QMenuBar()、QMenu()和QAction()的使用
- 如何用java实现使用电子邮件控制你的电脑
- Android并发编程之Handler,MessageQueue,Looper详解
- Xilinx petalinux 2015.4 试用
- 顺序表应用1:多余元素删除之移位算法