我在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
我在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