首页 > 其他 > 详细

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

时间:2014-09-15 22:30:19      阅读:825      评论:0      收藏:0      [点我收藏+]

问题:

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

原文:http://www.cnblogs.com/skywter/p/3973672.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!