安装Pillow错误:安装脚本退出时出现错误:命令'x86_64-linux-gnu-gcc'失败,退出状态为1 [英] Installing Pillow error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
问题描述
当我尝试安装Pillow 2.5.3
时,出现错误:命令'x86_64-linux-gnu-gcc'以退出状态1失败
我需要这个库作为另一个python项目的一部分。
我经历了许多解决方案,但没有人帮助我解决方案
你缺少Python头文件。在发行版的包管理器中安装 python-dev
。
等同于python 3.安装 python3-dev
,例如:
$ b $ pre $ sudo apt-get install python3-dev
While i try to install Pillow 2.5.3 I am getting an error : command 'x86_64-linux-gnu-gcc' failed with exit status 1
Here is the complete log of what happened
I need this library as a part of another python project. I have gone through many solutions but none helped me
You are missing Python headers. Install python-dev
from your distribution's package manager.
Equally for python 3. Install python3-dev
, example:
sudo apt-get install python3-dev
这篇关于安装Pillow错误:安装脚本退出时出现错误:命令'x86_64-linux-gnu-gcc'失败,退出状态为1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!