Install lxml on Centos 7 - error: command 'gcc' failed with exit status 4

前端 未结 4 1647
伪装坚强ぢ
伪装坚强ぢ 2020-12-31 14:40

I\'m using python 3.4 in a virtual environment:

(af)[root@domain backend]# pip --version
pip 7.1.0 from /home/af/af-stage/backend/.ves/af/lib/python3.4/sit         


        
4条回答
  •  囚心锁ツ
    2020-12-31 15:02

    You just need to use yum install python-lxml. Of course, lxml module depend on libxml2 libxslt libxml2-devel libxslt-devel.

提交回复
热议问题