0
点赞
收藏
分享

微信扫一扫

在centos上安装python3的matplotlib提示“failed with error code 1 in /tmp/pip-build-ea52hkd9/pillow/”

舍予兄 2022-01-26 阅读 105

我在centos上安装python3的matplotlib的时候,每次安装到依赖的包pillow都会提示“failed with error code 1 in /tmp/pip-build-ea52hkd9/pillow/”错误,如下图所示:
在这里插入图片描述
我的解决方法是依次运行以下三个命令:

sudo python3 -m pip install --upgrade pip
pip3 install pillow
pip3 install matplotlib
举报

相关推荐

0 条评论