软件安装过程中,在安装lxml的时候出现如下错误
error: command 'gcc' failed with exit status 1
gcc当然没问题,问题原因是缺少相关组件,
安装以下2个组件即可,
yum install libxslt-devel libxml2-devel
回到lxml-3.4.2目录,执行
python setup.py install
安装成功!
时间:2018-09-17 17:58:42
软件安装过程中,在安装lxml的时候出现如下错误
error: command 'gcc' failed with exit status 1
gcc当然没问题,问题原因是缺少相关组件,
安装以下2个组件即可,
yum install libxslt-devel libxml2-devel
回到lxml-3.4.2目录,执行
python setup.py install
安装成功!