私は自作を使用し、Pythonを$ brew install python --framework
インストールeasy_install
してから、pipをインストールするためにインストールしました。
その後、Scrapy Web サイトにあるように、pip install を使用して 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