V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
ninestep
V2EX  ›  Django

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

  •  1
     
  •   ninestep · 2016-05-17 19:04:36 +08:00 · 3146 次点击
    这是一个创建于 2892 天前的主题,其中的信息可能已经有所发展或是发生改变。

    我用 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

    4 条回复    2016-05-26 10:32:26 +08:00
    wuxianglong
        1
    wuxianglong  
       2016-05-17 19:11:49 +08:00
    phithon
        2
    phithon  
       2016-05-17 19:14:30 +08:00
    我 docker 下的 alpine 也是这个问题解决不了,准备换别的图片库看看了。
    ninestep
        3
    ninestep  
    OP
       2016-05-18 08:33:15 +08:00
    @wuxianglong 没用,这些我都装了
    glasslion
        4
    glasslion  
       2016-05-26 10:32:26 +08:00
    安装 C 库后, 有没有卸载重新安装 Pillow? 如果安装 Pillow 时, 编译或用到那些 C library, 如果安装编译时没装, 以后装了也没用
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5204 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 09:21 · PVG 17:21 · LAX 02:21 · JFK 05:21
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.