The headers or library files could not be found for jpeg

2022-06-24 发表在 编程语言 469

Pillow报错

    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

解决方法

https://stackoverflow.com/questions/44043906/the-headers-or-library-files-could-not-be-found-for-jpeg-installing-pillow-on

macOS下:

brew install libtiff libjpeg webp little-cms2

Reason: https://pillow.readthedocs.io/en/latest/installation.html

作者:Java笔记
本站使用「署名 4.0 国际」创作共享协议,转载请在文章明显位置注明作者及出处。
评论
登录以后才可以发布评论哦, 点击登录 发布评论
评论列表 0人参与,0条评论
暂时还没有人评论,快来一条神回复吧!