Django OS X Wrong JPEG library version: library is 80, caller expects 62 sorl.thumbnail

前端 未结 4 771
野趣味
野趣味 2021-02-06 17:48

Im using sorl.thumbnail for django locally on my mac and have been having trouble with PIL, but today i finally managed to get it installed - was some trouble with libjpeg.

4条回答
  •  说谎
    说谎 (楼主)
    2021-02-06 18:26

    If you have macports installed, you should do a:

    $ sudo port selfupdate
    $ sudo port install py27-pil
    

    It's easier than the easy_install method since macports install the right dependencies.

提交回复
热议问题