您的位置:首页 > 其它

fatal error: 'libxml/xmlversion.h' file not found

2014-09-15 21:33 786 查看
问题:

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: