码迷,mamicode.com
首页 > 其他好文 > 详细

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

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

标签:des   style   color   io   os   strong   sp   问题   on   

问题:

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

标签:des   style   color   io   os   strong   sp   问题   on   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!