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

前端 未结 4 1648
伪装坚强ぢ
伪装坚强ぢ 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:11

    This worked for me: yum install -y libxml2 libxml2-devel libxslt libxslt-devel

提交回复
热议问题