The headers or library files could not be found for jpeg, a required dependency when compiling Pil

The headers or library files could not be found for jpeg,
  a required dependency when compiling Pillow from source.
 
  Please see the install instructions at:
     https://pillow.readthedocs.io/en/latest/installation.html

 

最近安装wechatsogou遇到此错误,貌似是它依赖的pillow安装失败。原来安装pillow缺少环境,安装

yum -y install libjpeg-turbo-devel

再安装就ok

posted @ 2020-04-14 11:42  SunSAS  阅读(3787)  评论(0编辑  收藏  举报