ninestep
V2EX  ›  Django

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

  •  1
     
  •   ninestep · May 17, 2016 · 3827 views
    This topic created in 3674 days ago, the information mentioned may be changed or developed.

    我用 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 replies    2016-05-26 10:32:26 +08:00
    phithon
        2
    phithon  
       May 17, 2016
    我 docker 下的 alpine 也是这个问题解决不了,准备换别的图片库看看了。
    ninestep
        3
    ninestep  
    OP
       May 18, 2016
    @wuxianglong 没用,这些我都装了
    glasslion
        4
    glasslion  
       May 26, 2016
    安装 C 库后, 有没有卸载重新安装 Pillow? 如果安装 Pillow 时, 编译或用到那些 C library, 如果安装编译时没装, 以后装了也没用
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   937 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 20:38 · PVG 04:38 · LAX 13:38 · JFK 16:38
    ♥ Do have faith in what you're doing.