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

猜你喜欢

转载自www.cnblogs.com/SunSAS/p/12696919.html
今日推荐