error: command 'gcc' failed with exit status 1 on CentOS

前端 未结 7 2125
甜味超标
甜味超标 2020-12-23 09:48

I\'m trying to install lxml package on CentOS using sudo pip install lxml and its throwing this error right at the end:

error:

error:          


        
7条回答
  •  甜味超标
    2020-12-23 10:16

    I bet you have to install libxml2-devel or libxml++-devel or even python-devel. But it is only a wild guess, not seeing the actual error from the log file. But it seems gcc is missing either a header file or a library file.

提交回复
热议问题