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

問題:xcode

MACOS安裝scrapy時,安裝lxml出現錯誤scrapy

In file included from src/lxml/lxml.etree.c:232:spa

/tmp/easy_install-O2UfP7/lxml-3.4.0/src/lxml/includes/etree_defs.h:14:10: fatal error: 'libxml/xmlversion.h' file not foundcode

#include "libxml/xmlversion.h"xml

         ^ip

1 error generated.it

error: Setup script exited with error: command 'cc' failed with exit status 1io

 

解決方法:class

xcode-select --installfile

相關文章
相關標籤/搜索