title: Error Code 1 Installing Scrapy
body: <p>I am trying to install the Scrapy module for Python.  I am using the command:</p>
  
  <pre><code>pip install Scrapy
  </code></pre>
  
  <p>But I get the following error:</p>
  
  <pre><code>Command "/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -c "import setuptools, tokenize;__file__='/private/var/folders/b4/nrmj5jf105lcv1_kf1yk9gh40000gn/T/pip-build-aNQoXA/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/b4/nrmj5jf105lcv1_kf1yk9gh40000gn/T/pip-B_akAd-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/b4/nrmj5jf105lcv1_kf1yk9gh40000gn/T/pip-build-aNQoXA/lxml
  </code></pre>
  
  <p>I've done some research on this, and tried several different solutions <a href="https://github.com/pyca/cryptography/issues/693#issuecomment-39659057" rel="nofollow noreferrer">here</a> and <a href="https://stackoverflow.com/questions/22063105/installation-scrapy-error-on-mac-10-9-1-using-pip">here</a> but to no avail. </p>