error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Posted Mr.L

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了error: command 'x86_64-linux-gnu-gcc' failed with exit status 1相关的知识,希望对你有一定的参考价值。

解决办法

Python 3

sudo apt-get install python3 python-dev python3-dev
build-essential libssl-dev libffi-dev
libxml2-dev libxslt1-dev zlib1g-dev
python-pip

python2

sudo apt-get install python-dev
build-essential libssl-dev libffi-dev
libxml2-dev libxslt1-dev zlib1g-dev
python-pip

以上是关于error: command 'x86_64-linux-gnu-gcc' failed with exit status 1的主要内容,如果未能解决你的问题,请参考以下文章

x86_64-linux-gnu/libgdk-x11-2.0.so: error adding symbols: DSO missing from command line

error: command ‘x86_64-linux-gnu-gcc‘ failed

无法执行'x86_64-conda_cos6-linux-gnu-gcc':没有这样的文件或目录(pysam安装)

command 'x86_64-linux-gnu-gcc' failed with exit status 1错误及解决方案

xcode上编译c语言程序报错:ld: x duplicate symbol for architecture x86_64 clang: error: linker command failed

xcode上编译c语言程序报错:ld: x duplicate symbol for architecture x86_64 clang: error: linker command failed