【发布时间】:2016-05-02 09:44:19
【问题描述】:
我在 django 中使用 django-simple-captcha。
命令:./manage.py test apatcha 显示错误“ImportError: The _imagingft C module is not installed”
我已经按照以下顺序安装了包:
yum install freetype-devel libjpeg-devel libpng-devel
pip uninstall Pillow
pip uninstall Pillow-PIL
pip install Pillow
pip install Pillow-PIL
但它仍然不起作用。 我哪里错了?
系统:CentOS 6.5
Python: The _imagingft C module is not installed
上面的链接不能解决我的问题,否则我不会在这里。 最后,我通过从官网下载tar.gz文件并手动安装解决了我的问题。
【问题讨论】:
-
您是否尝试过寻找答案?一个简单的谷歌搜索将导致您的解决方案。