Python安装Pillow时出现The headers or library files could not be found for zlib/jpeg错误
Posted 不想吃鱼
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Python安装Pillow时出现The headers or library files could not be found for zlib/jpeg错误相关的知识,希望对你有一定的参考价值。
从网上搜集到两种解决办法:
1、执行以下命令(我也是这样解决的)
sudo apt-get install libjpeg-dev zlib1g-dev
pip install Pillow
如果是python3,则将第二句改为:
pip3 install Pillow
2、更新pip版本
pip install --upgrade pip
以上是关于Python安装Pillow时出现The headers or library files could not be found for zlib/jpeg错误的主要内容,如果未能解决你的问题,请参考以下文章
尝试为 python 3.7 安装枕头 5.3.0 时出现问题 [重复]
MongoDB学习笔记(一:安装时出现The default storage engine 'wiredTiger' is not available问题解决)
openfire 安装配置时出现The Openfire database schema does not appear to be installed. Follow the installati错
VMware 12安装CentOS 6.9时出现:The centos disc was not found in any of your drives.Please insert the cento