我用家釀並與$ brew install python --framework
後來我安裝easy_install
安裝PIP安裝python,在Lion上安裝Scrapy - 的libxml/xmlversion.h不可用
之後,作爲Scrapy網站說,我使用PIP安裝安裝Scrapy,但看起來像XCode缺少一些libxml文件。
In file included from src/lxml/lxml.etree.c:314:
/private/var/folders/h6/xl6c12wn67n_9j7jl60b_j843908_z/T/pip-build-auduwage/lxml/src/lxml/includes/etree_defs.h:9:10: fatal error: 'libxml/xmlversion.h' file not found
#include "libxml/xmlversion.h"
^
1 error generated.
error: command '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' failed with exit status 1
@birryree如果你在安裝scrapy時必須解決這個問題,你已經回答了有關scrapy的問題。 –