首页 > 代码库 > fatal error: 'libxml/xmlversion.h' file not found
fatal error: 'libxml/xmlversion.h' file not found
问题:
MACOS安装scrapy时,安装lxml出现错误
In file included from src/lxml/lxml.etree.c:232:
/tmp/easy_install-O2UfP7/lxml-3.4.0/src/lxml/includes/etree_defs.h:14:10: fatal error: ‘libxml/xmlversion.h‘ file not found
#include "libxml/xmlversion.h"
^
1 error generated.
error: Setup script exited with error: command ‘cc‘ failed with exit status 1
解决方法:
xcode-select --install
fatal error: 'libxml/xmlversion.h' file not found
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。