错误:命令“ gcc”失败,退出状态为CentOS 1
我正在尝试使用CentOS安装lxml软件包,sudo pip install lxml
并在最后抛出此错误:
回答:
error: command 'gcc' failed with exit status 1---------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-root/lxml/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-PjviBq-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip-build-root/lxml
Storing complete log in /root/.pip/pip.log
[hg@user-centos-1 ~]$ error: command 'gcc' failed with exit status 1
bash: error:: command not found
回答:
是否安装了gcc?
sudo yum install gcc
以上是 错误:命令“ gcc”失败,退出状态为CentOS 1 的全部内容, 来源链接: utcz.com/qa/411550.html