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

posted @ 2020-07-04 15:59  thinkworld  阅读(215)  评论(0编辑  收藏  举报