【发布时间】:2015-01-26 19:00:55
【问题描述】:
我是python新手,我尝试使用openpyxl来处理excel。当我使用sudo pip install lxml时,我遇到了这种错误信息:
In file included from src/lxml/lxml.etree.c:239:0:
/tmp/pip_build_root/lxml/src/lxml/includes/etree_defs.h:14:31: fatal error: libxml/xmlversion.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Rolling back uninstall of lxml
感谢您的帮助
【问题讨论】:
-
@alecxe 我不知道错误信息是一样的。为什么只有我的问题被标记为重复?