django 验证码遭遇 The _imagingft C module is not installed, google 的方法已经试过了,没用

2016-05-17 19:04:36 +08:00
 ninestep

我用 django-simple-captcha 生成验证码,但是总会遇到 The _imagingft C module is not installed 错误, google 以后安装 libfreetype6-dev 什么的也安装上去了,但是还是解决不了,我的环境是 dietpi (树莓派的一个系统,基于 debian )+django1.9+virtulaenv ( python3.4 )的

各位还有什么办法请指教,或者有什么好的 django 的验证码解决办法。

顺便问一下我想找一份暑期的实习,有什么渠道可以?

附上这个django app的github地址https://github.com/mbi/django-simple-captcha

3154 次点击
所在节点    Django
4 条回复
wuxianglong
2016-05-17 19:11:49 +08:00
phithon
2016-05-17 19:14:30 +08:00
我 docker 下的 alpine 也是这个问题解决不了,准备换别的图片库看看了。
ninestep
2016-05-18 08:33:15 +08:00
@wuxianglong 没用,这些我都装了
glasslion
2016-05-26 10:32:26 +08:00
安装 C 库后, 有没有卸载重新安装 Pillow? 如果安装 Pillow 时, 编译或用到那些 C library, 如果安装编译时没装, 以后装了也没用

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/279321

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX